Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/src/main/java/jake2/client/render/fast/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ void precompileGLCmds(qfiles.Md2Model model) {
if (count == 0)
break; // done

tmp.addElement(new Integer(count));
tmp.addElement(Integer.valueOf(count));

if (count < 0)
{
Expand Down
2 changes: 1 addition & 1 deletion client/src/main/java/jake2/client/sound/lwjgl/Channel.java
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ static void addLoopSounds() {

if (sound == 0) continue;

key = new Integer(ent.number);
key = Integer.valueOf(ent.number);
ch = (Channel)looptable.get(key);

if (ch != null) {
Expand Down
2 changes: 1 addition & 1 deletion game/src/main/java/jake2/game/GameExportsImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ private void Players_f(edict_t ent) {
count = 0;
for (i = 0; i < game.maxclients; i++) {
if (game.clients[i].pers.connected) {
index[count] = new Integer(i);
index[count] = Integer.valueOf(i);
count++;
}
}
Expand Down
78 changes: 39 additions & 39 deletions qcommon/src/main/java/jake2/qcommon/util/Vargs.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,45 +50,45 @@ public Vargs(int initialSize) {
v = new Vector(initialSize);
}

public Vargs add(boolean value) {
v.add(new Boolean(value));
return this;
}

public Vargs add(byte value) {
v.add(new Byte(value));
return this;
}

public Vargs add(char value) {
v.add(new Character(value));
return this;
}

public Vargs add(short value) {
v.add(new Short(value));
return this;
}

public Vargs add(int value) {
v.add(new Integer(value));
return this;
}

public Vargs add(long value) {
v.add(new Long(value));
return this;
}

public Vargs add(float value) {
v.add(new Float(value));
return this;
}

public Vargs add(double value) {
v.add(new Double(value));
return this;
}
public Vargs add(boolean value) {
v.add(Boolean.valueOf(value));
return this;
}

public Vargs add(byte value) {
v.add(Byte.valueOf(value));
return this;
}

public Vargs add(char value) {
v.add(Character.valueOf(value));
return this;
}

public Vargs add(short value) {
v.add(Short.valueOf(value));
return this;
}

public Vargs add(int value) {
v.add(Integer.valueOf(value));
return this;
}

public Vargs add(long value) {
v.add(Long.valueOf(value));
return this;
}

public Vargs add(float value) {
v.add(Float.valueOf(value));
return this;
}

public Vargs add(double value) {
v.add(Double.valueOf(value));
return this;
}

public Vargs add(String value) {
v.add(value);
Expand Down