File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/main/java/com/arangodb/entity Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ public class EntityFactory {
49
49
private static Gson gson ;
50
50
private static Gson gsonNull ;
51
51
52
+ private EntityFactory () {
53
+ // this is a helper class
54
+ }
55
+
52
56
public static GsonBuilder getGsonBuilder () {
53
57
return new GsonBuilder ().addSerializationExclusionStrategy (new ExcludeExclusionStrategy (true ))
54
58
.addDeserializationExclusionStrategy (new ExcludeExclusionStrategy (false ))
@@ -166,7 +170,7 @@ public static <T> JsonSequenceEntity toJsonSequenceEntity(Iterator<T> itr) {
166
170
return new JsonSequenceEntity (itr , gson );
167
171
}
168
172
169
- public static < T > String toImportHeaderValues (Collection <? extends Collection <?>> headerValues ) {
173
+ public static String toImportHeaderValues (Collection <? extends Collection <?>> headerValues ) {
170
174
StringWriter writer = new StringWriter ();
171
175
for (Collection <?> array : headerValues ) {
172
176
gson .toJson (array , writer );
You can’t perform that action at this time.
0 commit comments