Skip to content

Commit

Permalink
final поля
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNeuronix committed Nov 19, 2014
1 parent de155b5 commit 3834416
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/ru/iris/noolite4j/sender/PC11xx.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class PC11xx {
private final Context context = new Context();
protected short availableChannels = 8;
protected byte sendRepeat = 2;
private ByteBuffer buf = ByteBuffer.allocateDirect(8);
private final ByteBuffer buf = ByteBuffer.allocateDirect(8);

/**
* Пытается найти и открыть HID-устройство PC11xx
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ru/iris/noolite4j/watchers/CommandType.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public enum CommandType {
BATTERY_LOW(20),
TEMP_HUMI(21);

private int code;
private final int code;

CommandType(int i) {
this.code = i;
Expand Down

0 comments on commit 3834416

Please sign in to comment.