Skip to content

Commit 0d9f391

Browse files
committed
Address AssignmentExpression warnings.
1 parent d7284cd commit 0d9f391

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

solarnet/common/src/main/java/net/solarnetwork/central/support/DelayQueueSet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ public boolean hasNext() {
571571
}
572572

573573
@Override
574-
@SuppressWarnings("unchecked")
574+
@SuppressWarnings({ "unchecked", "AssignmentExpression" })
575575
public E next() {
576576
if ( cursor >= array.length ) {
577577
throw new NoSuchElementException();

solarnet/ocpp/src/main/java/net/solarnetwork/central/ocpp/domain/ChargePointActionStatusKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public int compareTo(ChargePointActionStatusKey o) {
161161
if ( result != 0 ) {
162162
return result;
163163
}
164-
return result = action.compareTo(o.action);
164+
return action.compareTo(o.action);
165165
}
166166

167167
@Override

0 commit comments

Comments
 (0)