Clarity fix in instance variable ordering.

This commit is contained in:
2023-03-31 08:01:14 -04:00
parent 3b7c516975
commit fb15ee912b
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -14,16 +14,16 @@ import java.sql.SQLException;
public class BootySetEntry { public class BootySetEntry {
public float dropChance;
public int itemBase;
public int itemBase;
public float dropChance;
/** /**
* ResultSet Constructor * ResultSet Constructor
*/ */
public BootySetEntry(ResultSet rs) throws SQLException { public BootySetEntry(ResultSet rs) throws SQLException {
this.dropChance = (rs.getFloat("dropChance"));
this.itemBase = (rs.getInt("itemBase")); this.itemBase = (rs.getInt("itemBase"));
this.dropChance = (rs.getFloat("dropChance"));
} }
} }
+2 -2
View File
@@ -14,16 +14,16 @@ import java.sql.SQLException;
public class EquipmentSetEntry { public class EquipmentSetEntry {
public float dropChance;
public int itemID; public int itemID;
public float dropChance;
/** /**
* ResultSet Constructor * ResultSet Constructor
*/ */
public EquipmentSetEntry(ResultSet rs) throws SQLException { public EquipmentSetEntry(ResultSet rs) throws SQLException {
this.dropChance = (rs.getFloat("dropChance"));
this.itemID = (rs.getInt("itemID")); this.itemID = (rs.getInt("itemID"));
this.dropChance = (rs.getFloat("dropChance"));
} }
} }