Skip to content

Commit 3d7c1bf

Browse files
committed
Syntactic clean-up
1 parent 6e5a9eb commit 3d7c1bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

triplestore/src/main/java/org/trellisldp/ext/triplestore/TriplestoreUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
*/
1414
package org.trellisldp.ext.triplestore;
1515

16-
import static java.util.Objects.nonNull;
1716
import static org.apache.camel.util.ExchangeHelper.getMandatoryHeader;
1817
import static org.trellisldp.camel.ActivityStreamProcessor.ACTIVITY_STREAM_OBJECT_ID;
1918

@@ -28,7 +27,7 @@
2827
final class TriplestoreUtils {
2928

3029
public static String encode(final String input, final String encoding) {
31-
if (nonNull(input)) {
30+
if (input != null) {
3231
try {
3332
return URLEncoder.encode(input, encoding);
3433
} catch (final UnsupportedEncodingException ex) {

0 commit comments

Comments
 (0)