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 {
4949 private static Gson gson ;
5050 private static Gson gsonNull ;
5151
52+ private EntityFactory () {
53+ // this is a helper class
54+ }
55+
5256 public static GsonBuilder getGsonBuilder () {
5357 return new GsonBuilder ().addSerializationExclusionStrategy (new ExcludeExclusionStrategy (true ))
5458 .addDeserializationExclusionStrategy (new ExcludeExclusionStrategy (false ))
@@ -166,7 +170,7 @@ public static <T> JsonSequenceEntity toJsonSequenceEntity(Iterator<T> itr) {
166170 return new JsonSequenceEntity (itr , gson );
167171 }
168172
169- public static < T > String toImportHeaderValues (Collection <? extends Collection <?>> headerValues ) {
173+ public static String toImportHeaderValues (Collection <? extends Collection <?>> headerValues ) {
170174 StringWriter writer = new StringWriter ();
171175 for (Collection <?> array : headerValues ) {
172176 gson .toJson (array , writer );
You can’t perform that action at this time.
0 commit comments