Skip to content

Commit 688ff97

Browse files
author
a-brandt
committed
fixed sonar issues
1 parent 73537fb commit 688ff97

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/com/arangodb/entity/EntityFactory.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)