Skip to content

Commit 605dae3

Browse files
committed
A trivial modification.
1 parent dd6fe6a commit 605dae3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

client/lora-dac/src/main/java/com/thefirstlineofcode/sand/client/lora/dac/LoraDacService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ private void doNegotiate(LoraAddress peerAddress, byte[] message) throws Communi
233233
return;
234234
}
235235

236-
237236
Allocation allocation = new Allocation();
238237
allocation.setGatewayUplinkAddress(gatewayUplinkAddress.getBytes());
239238
allocation.setGatewayDownlinkAddress(gatewayDownlinkAddress.getBytes());

demo/server/src/main/java/com/thefirstlineofcode/sand/demo/server/ThingRegistrationListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void process(IEventContext context, ThingRegistrationEvent event) {
4444

4545
IResource[] resources = resourceService.getResources(JabberId.parse(String.format("%s@%s", event.getAuthorizer(), domainName)));
4646
if (resources == null || resources.length == 0 && logger.isWarnEnabled()) {
47-
logger.warn("Can't find any resource for authorizer '{}'. Ignore to pass thing registration stanza to the owner.", event.getAuthorizer());
47+
logger.warn("Can't find any resource for authorizer '{}'. Ignore to pass thing registration stanza to the owner.", authorizer);
4848
return;
4949
}
5050

0 commit comments

Comments
 (0)