The following issues were found
src/test/java/com/alibaba/json/test/benchmark/encode/CategoryEncode.java
2 issues
Line: 9
public class CategoryEncode extends BenchmarkCase {
private Object object;
public CategoryEncode(){
super("CategoryEncode");
Category category = new Category();
Reported by PMD.
Line: 9
public class CategoryEncode extends BenchmarkCase {
private Object object;
public CategoryEncode(){
super("CategoryEncode");
Category category = new Category();
Reported by PMD.
src/test/java/com/alibaba/json/test/benchmark/encode/EishayEncodeOutputStream.java
2 issues
Line: 10
public class EishayEncodeOutputStream extends BenchmarkCase {
private DummyOutputStream out = new DummyOutputStream();
public EishayEncodeOutputStream(){
super("EishayEncode-outputstream");
}
Reported by PMD.
Line: 10
public class EishayEncodeOutputStream extends BenchmarkCase {
private DummyOutputStream out = new DummyOutputStream();
public EishayEncodeOutputStream(){
super("EishayEncode-outputstream");
}
Reported by PMD.
src/test/java/com/alibaba/json/test/benchmark/encode/Entity100IntEncode.java
2 issues
Line: 9
public class Entity100IntEncode extends BenchmarkCase {
private Object object;
public Entity100IntEncode(){
super("Entity100IntEncode");
Entity100Int entity = new Entity100Int();
Reported by PMD.
Line: 9
public class Entity100IntEncode extends BenchmarkCase {
private Object object;
public Entity100IntEncode(){
super("Entity100IntEncode");
Entity100Int entity = new Entity100Int();
Reported by PMD.
src/test/java/com/alibaba/json/test/benchmark/encode/ListBoolean1000Encode.java
2 issues
Line: 10
public class ListBoolean1000Encode extends BenchmarkCase {
private Object object;
public ListBoolean1000Encode(){
super("BooleanArray1000Encode");
boolean[] array = new boolean[1000];
Reported by PMD.
Line: 10
public class ListBoolean1000Encode extends BenchmarkCase {
private Object object;
public ListBoolean1000Encode(){
super("BooleanArray1000Encode");
boolean[] array = new boolean[1000];
Reported by PMD.
src/test/java/com/alibaba/json/test/benchmark/encode/Map1000Encode.java
2 issues
Line: 11
public class Map1000Encode extends BenchmarkCase {
private Object object;
@SuppressWarnings({ "rawtypes", "unchecked" })
public Map1000Encode(){
super("Map1000Encode");
Reported by PMD.
Line: 11
public class Map1000Encode extends BenchmarkCase {
private Object object;
@SuppressWarnings({ "rawtypes", "unchecked" })
public Map1000Encode(){
super("Map1000Encode");
Reported by PMD.
src/test/java/com/alibaba/json/test/entity/pagemodel/ComponentInstance.java
2 issues
Line: 9
* @author jiajie.yujj @ 2010-11-29 ����09:53:39
* @author naipei.chennp 2010-12-7 ����09:47:50
*/
public abstract class ComponentInstance {
protected Long sid;
protected String cid;
public Long getSid() {
Reported by PMD.
Line: 9
* @author jiajie.yujj @ 2010-11-29 ����09:53:39
* @author naipei.chennp 2010-12-7 ����09:47:50
*/
public abstract class ComponentInstance {
protected Long sid;
protected String cid;
public Long getSid() {
Reported by PMD.
src/test/java/com/alibaba/json/test/epubview/EpubViewHotPoint.java
2 issues
Line: 12
* @author renci
*
*/
public class EpubViewHotPoint implements Serializable {
private static final long serialVersionUID = 2430184364840193603L;
/**
* 热点类型:
Reported by PMD.
Line: 12
* @author renci
*
*/
public class EpubViewHotPoint implements Serializable {
private static final long serialVersionUID = 2430184364840193603L;
/**
* 热点类型:
Reported by PMD.
src/test/java/com/alibaba/json/test/epubview/EpubViewMetaData.java
2 issues
Line: 7
import java.util.HashMap;
import java.util.Map;
public class EpubViewMetaData implements Serializable
{
private static final long serialVersionUID = 8776084797505245120L;
private boolean encrypt = false;
private Map<String, String> properties = new HashMap<String, String>();
Reported by PMD.
Line: 11
{
private static final long serialVersionUID = 8776084797505245120L;
private boolean encrypt = false;
private Map<String, String> properties = new HashMap<String, String>();
public Map<String, String> getProperties()
{
return properties;
Reported by PMD.
src/test/java/com/alibaba/json/test/tmall/Head.java
2 issues
Line: 15
* @author benxiang.hhq
* @version $Id: Head.java, v 0.1 2012-12-26 ����5:48:58 benxiang.hhq Exp $
*/
public class Head {
@JSONField(name = "Status")
private String status;
@JSONField(name = "SearchTime")
private String searchTime;
@JSONField(name = "Version")
Reported by PMD.
Line: 8
package com.alibaba.json.test.tmall;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.annotation.JSONType;
/**
* ͷ����Ϣ
* @author benxiang.hhq
* @version $Id: Head.java, v 0.1 2012-12-26 ����5:48:58 benxiang.hhq Exp $
Reported by PMD.
src/test/java/com/alibaba/json/test/vans/VansAnimation.java
2 issues
Line: 10
/**
* Created by xiaolin_kxl on 17/1/5.
*/
public class VansAnimation implements Serializable{
public String fps;
public String name;
public ArrayList<String> tracks;
public VansAnimation(){
Reported by PMD.
Line: 13
public class VansAnimation implements Serializable{
public String fps;
public String name;
public ArrayList<String> tracks;
public VansAnimation(){
}
}
Reported by PMD.