Skip to content

Commit fb7357b

Browse files
committed
renamed IntTemplate.java and IntArrayTemplate.java to IntegerTemplate.java and IntegerArrayTemplate.java
1 parent adce988 commit fb7357b

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/main/java/org/msgpack/template/IntArrayTemplate.java renamed to src/main/java/org/msgpack/template/IntegerArrayTemplate.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
import org.msgpack.MessageTypeException;
2424

2525

26-
public class IntArrayTemplate implements Template {
27-
private IntArrayTemplate() { }
26+
public class IntegerArrayTemplate implements Template {
27+
private IntegerArrayTemplate() { }
2828

2929
public void write(Packer pk, Object target) throws IOException {
3030
if(target == null) {
@@ -53,10 +53,10 @@ public Object read(Unpacker u, Object to) throws IOException {
5353
return array;
5454
}
5555

56-
static public IntArrayTemplate getInstance() {
56+
static public IntegerArrayTemplate getInstance() {
5757
return instance;
5858
}
5959

60-
static final IntArrayTemplate instance = new IntArrayTemplate();
60+
static final IntegerArrayTemplate instance = new IntegerArrayTemplate();
6161
}
6262

src/main/java/org/msgpack/template/IntTemplate.java renamed to src/main/java/org/msgpack/template/IntegerTemplate.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
import org.msgpack.MessageTypeException;
2424

2525

26-
public class IntTemplate implements Template {
27-
private IntTemplate() { }
26+
public class IntegerTemplate implements Template {
27+
private IntegerTemplate() { }
2828

2929
public void write(Packer pk, Object target) throws IOException {
3030
if(target == null) {
@@ -37,10 +37,10 @@ public Object read(Unpacker u, Object to) throws IOException {
3737
return u.readInt();
3838
}
3939

40-
static public IntTemplate getInstance() {
40+
static public IntegerTemplate getInstance() {
4141
return instance;
4242
}
4343

44-
static final IntTemplate instance = new IntTemplate();
44+
static final IntegerTemplate instance = new IntegerTemplate();
4545
}
4646

0 commit comments

Comments
 (0)