Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
nmarulo authored Oct 25, 2024
1 parent ad6a4b8 commit 884920a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/dev/nmarulo/depensaapp/ServletInitializer.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ protected SpringApplicationBuilder configure(SpringApplicationBuilder applicatio
}
String x = "foo";
if (x.equals(null)) {
doSomething();
//doSomething();
}
Integer value = 1;
try {
Expand All @@ -30,7 +30,7 @@ protected SpringApplicationBuilder configure(SpringApplicationBuilder applicatio
value = null; // Value set to null within a catch block
// ...
}
value.member += 1;
//value.member += 1;

return application.sources(DespensaRestApiApplication.class);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
package dev.nmarulo.depensaapp.commons.gson;

import java.util.HashMap;
import java.util.Map;
import java.net.URL;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.ConcurrentSkipListMap;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import lombok.RequiredArgsConstructor;
Expand Down Expand Up @@ -31,7 +36,7 @@ public <R> R convertTo(Object object, Class<?> clazz) {
}
String x = "foo";
if (x.equals(null)) {
doSomething();
//doSomething();
}

return fromJsonTo(json, TypeToken.get(clazz));
Expand Down

0 comments on commit 884920a

Please sign in to comment.