Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Commit 0462040

Browse files
committed
Modify field access level
1 parent 83dc3aa commit 0462040

11 files changed

Lines changed: 53 additions & 15 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,5 @@ local.properties
6060

6161
# End of https://www.gitignore.io/api/eclipse
6262
/.gradle/
63+
*.lock
64+
*.bin
0 Bytes
Binary file not shown.
8.13 KB
Binary file not shown.
30.6 KB
Binary file not shown.
234 Bytes
Binary file not shown.
4.83 KB
Binary file not shown.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/thebluealliance/api/v3/Deserializer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
*
99
*/
1010
public class Deserializer {
11-
12-
final static Gson gson = new Gson();
11+
12+
private final static Gson gson = new Gson();
1313

1414
/** Converts JSON to a {@link Team} object
1515
* @param jsonData JSON object from an {@link APIResponse}

src/main/java/com/thebluealliance/api/v3/models/MatchScoreBreakdown2018Alliance.java

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,33 @@
22

33
public class MatchScoreBreakdown2018Alliance {
44

5-
int adjustPoints, autoOwnershipPoints, autoPoints, foulCount, foulPoints, rp,
6-
techFoulCount, teleopOwnershipPoints, teleopPoints, teleopScaleBoostSec, teleopScaleForceSec,
7-
teleopScaleOwnershipSec, teleopSwitchBoostSec, teleopSwitchForceSec, teleopSwitchOwnershipSec,
8-
totalPoints, vaultBoostPlayed, vaultBoostTotal, vaultForcePlayed, vaultForceTotal,
9-
vaultLevitatePlayed, vaultLevitateTotal, vaultPoints, autoSwitchOwnershipSec,
10-
endgamePoints, autoRunPoints, autoScaleOwnershipSec;
5+
private int adjustPoints;
6+
private int autoOwnershipPoints;
7+
private int autoPoints;
8+
private int foulCount;
9+
private int foulPoints;
10+
private int rp;
11+
private int techFoulCount;
12+
private int teleopOwnershipPoints;
13+
private int teleopPoints;
14+
private int teleopScaleBoostSec;
15+
private int teleopScaleForceSec;
16+
private int teleopScaleOwnershipSec;
17+
private int teleopSwitchBoostSec;
18+
private int teleopSwitchForceSec;
19+
private int teleopSwitchOwnershipSec;
20+
private int totalPoints;
21+
private int vaultBoostPlayed;
22+
private int vaultBoostTotal;
23+
private int vaultForcePlayed;
24+
private int vaultForceTotal;
25+
private int vaultLevitatePlayed;
26+
private int vaultLevitateTotal;
27+
private int vaultPoints;
28+
private int autoSwitchOwnershipSec;
29+
private int endgamePoints;
30+
private int autoRunPoints;
31+
private int autoScaleOwnershipSec;
1132

1233
public int getAdjustPoints() {
1334
return adjustPoints;
@@ -157,8 +178,16 @@ public String getTba_gameData() {
157178
return tba_gameData;
158179
}
159180

160-
boolean autoQuestRankingPoints, autoSwitchAtZero, faceTheBossRankingPoint;
161-
162-
String autoRobot1, autoRobot2, autoRobot3, endgameRobot1, endgameRobot2, endgameRobot3, tba_gameData;
181+
private boolean autoQuestRankingPoints;
182+
private boolean autoSwitchAtZero;
183+
private boolean faceTheBossRankingPoint;
184+
185+
private String autoRobot1;
186+
private String autoRobot2;
187+
private String autoRobot3;
188+
private String endgameRobot1;
189+
private String endgameRobot2;
190+
private String endgameRobot3;
191+
private String tba_gameData;
163192

164193
}

src/main/java/com/thebluealliance/api/v3/models/ScoreBreakdown.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
public class ScoreBreakdown {
44

5-
MatchScoreBreakdown2018Alliance blue, red;
5+
private MatchScoreBreakdown2018Alliance blue;
6+
private MatchScoreBreakdown2018Alliance red;
67

78
public MatchScoreBreakdown2018Alliance getBlue() {
89
return blue;

0 commit comments

Comments
 (0)