PMD report

Problems found

#FileLineProblem
1 client/CUser.java 53 Avoid unused local variables such as 'element'
2 client/ClientThread.java 70 Avoid unused private fields such as 'turn'
3 client/ClientThread.java 71 Avoid unused private fields such as 'isHost'
4 client/MMClient.java 369 Avoid unused local variables such as 'usr'
5 client/MMClient.java 371 Avoid unused local variables such as 'element'
6 client/MMClient.java 381 Avoid unused local variables such as 'ok'
7 client/MMClient.java 759 Avoid unused local variables such as 'numfound'
8 client/MMClient.java 1171 Avoid unused local variables such as 'ST'
9 client/campaign/CCampaign.java 222 Avoid unused local variables such as 'result'
10 client/campaign/CCampaign.java 223 Avoid unused local variables such as 'thouse'
11 client/campaign/CCampaign.java 224 Avoid unused local variables such as 'ST'
12 client/campaign/CCampaign.java 224 Avoid unused local variables such as 'ST1'
13 client/campaign/CUnit.java 404 Avoid unused local variables such as 'filename'
14 client/campaign/MapHelper.java 33 Avoid unused private fields such as 'calcdone'
15 client/cmd/PL.java 39 Avoid unused local variables such as 'arg1'
16 client/cmd/PL.java 39 Avoid unused local variables such as 'arg2'
17 client/cmd/PL.java 39 Avoid unused local variables such as 'arg3'
18 client/gui/BlackBoardNewMessagePanel.java 55 Avoid unused private fields such as 'blackBoard'
19 client/gui/BlackBoardNewMessagePanel.java 69 Avoid unused formal parameters such as 'name'
20 client/gui/BlackBoardPanel.java 99 Avoid unused private fields such as 'scroll'
21 client/gui/BlackBoardPanel.java 346 Avoid unused local variables such as 'index'
22 client/gui/BrowserCommandLexer.java 64 Avoid unused private fields such as 'YY_ILLEGAL_STATE'
23 client/gui/BrowserCommandLexer.java 94 Avoid unused private fields such as 'yyline'
24 client/gui/BrowserCommandLexer.java 96 Avoid unused private fields such as 'yychar'
25 client/gui/BrowserCommandLexer.java 101 Avoid unused private fields such as 'yycolumn'
26 client/gui/BrowserCommandLexer.java 105 Avoid unused private fields such as 'yy_atBOL'
27 client/gui/BrowserCommandLexer.java 120 Avoid unused private methods such as 'main(String)'
28 client/gui/BrowserCommandLexer.java 138 Avoid unused local variables such as 't'
29 client/gui/BrowserCommandLexer.java 183 Avoid unused private methods such as 'yy_unpack()'
30 client/gui/BrowserCommandLexer.java 217 Avoid unused private methods such as 'yy_unpack_cmap(String)'
31 client/gui/BrowserCommandLexer.java 374 Avoid unused private methods such as 'yypushback(int)'
32 client/gui/BrowserCommandLexer.java 392 Avoid unused local variables such as 'yy_startRead_l'
33 client/gui/CBMPanel.java 311 Avoid unused formal parameters such as 'evt'
34 client/gui/CBMPanel.java 337 Avoid unused formal parameters such as 'evt'
35 client/gui/CBMPanel.java 341 Avoid unused formal parameters such as 'evt'
36 client/gui/CBMPanel.java 362 Avoid unused formal parameters such as 'evt'
37 client/gui/CBMPanel.java 394 Avoid unused formal parameters such as 'evt'
38 client/gui/CBMPanel.java 396 Avoid unused formal parameters such as 'evt'
39 client/gui/CBMPanel.java 408 Avoid unused formal parameters such as 'evt'
40 client/gui/CCommPanel.java 571 Avoid unused local variables such as 'scrollbar'
41 client/gui/CHQPanel.java 68 Avoid unused private fields such as 'pnlPlayer'
42 client/gui/CHQPanel.java 69 Avoid unused private fields such as 'lblName'
43 client/gui/CHQPanel.java 70 Avoid unused private fields such as 'lblStatus'
44 client/gui/CHQPanel.java 71 Avoid unused private fields such as 'lblProfession'
45 client/gui/CHQPanel.java 72 Avoid unused private fields such as 'lblExp'
46 client/gui/CHQPanel.java 73 Avoid unused private fields such as 'lblRating'
47 client/gui/CHQPanel.java 74 Avoid unused private fields such as 'lblMoney'
48 client/gui/CHQPanel.java 75 Avoid unused private fields such as 'lblInfluence'
49 client/gui/CHQPanel.java 76 Avoid unused private fields such as 'lblMekbay'
50 client/gui/CHQPanel.java 77 Avoid unused private fields such as 'lblLogo'
51 client/gui/CHQPanel.java 78 Avoid unused private fields such as 'btnLogin'
52 client/gui/CHQPanel.java 79 Avoid unused private fields such as 'btnActive'
53 client/gui/CHQPanel.java 80 Avoid unused private fields such as 'btnReserve'
54 client/gui/CHQPanel.java 81 Avoid unused private fields such as 'btnLogout'
55 client/gui/CHQPanel.java 90 Avoid unused private fields such as 'pnlMekIcon'
56 client/gui/CHQPanel.java 91 Avoid unused private fields such as 'btnShowMek'
57 client/gui/CHQPanel.java 354 Avoid unused formal parameters such as 'evt'
58 client/gui/CHQPanel.java 356 Avoid unused formal parameters such as 'evt'
59 client/gui/CHQPanel.java 356 Avoid unused private methods such as 'btnResetUnitsActionPerformed(ActionEvent)'
60 client/gui/CHQPanel.java 360 Avoid unused formal parameters such as 'evt'
61 client/gui/CHQPanel.java 370 Avoid unused formal parameters such as 'evt'
62 client/gui/CHQPanel.java 375 Avoid unused formal parameters such as 'evt'
63 client/gui/CHQPanel.java 963 Avoid unused local variables such as 'lid'
64 client/gui/CHQPanel.java 967 Avoid unused local variables such as 'lid'
65 client/gui/CMainFrame.java 222 Avoid unused local variables such as 'fighting'
66 client/gui/CMainFrame.java 925 Avoid unused local variables such as 'p'
67 client/gui/CMainFrame.java 1096 Avoid unused local variables such as 'OldPass'
68 client/gui/CMainFrame.java 1185 Avoid unused local variables such as 'House'
69 client/gui/CMainFrame.java 1305 Avoid unused local variables such as 'count'
70 client/gui/CMainFrame.java 1318 Avoid unused local variables such as 'mechID'
71 client/gui/CMainFrame.java 1334 Avoid unused local variables such as 'mechID'
72 client/gui/CMainFrame.java 1379 Avoid unused local variables such as 'newName'
73 client/gui/CMainFrame.java 1380 Avoid unused local variables such as 'mechID'
74 client/gui/CMainFrame.java 1742 Avoid unused local variables such as 'i'
75 client/gui/CMainPanel.java 130 Avoid unused local variables such as 'index'
76 client/gui/CMainPanel.java 131 Avoid unused local variables such as 'mnemo'
77 client/gui/CPlayerPanel.java 60 Avoid unused local variables such as 'west'
78 client/gui/CUserListPanel.java 166 Avoid unused local variables such as 'item'
79 client/gui/ConfigPage.java 40 Avoid unused private fields such as 'windowName'
80 client/gui/ConfigPage.java 42 Avoid unused private fields such as 'blankspace'
81 client/gui/ConfigPage.java 71 Avoid unused private fields such as 'passwordCheckField'
82 client/gui/ConfigPage.java 424 Avoid unused local variables such as 'mainConfigPanel'
83 client/gui/DefectSelection.java 77 Avoid unused local variables such as 'owner'
84 client/gui/InnerStellarMap.java 196 Avoid unused private fields such as 'RANGE'
85 client/gui/InnerStellarMap.java 463 Avoid unused local variables such as 'names'
86 client/gui/InnerStellarMap.java 637 Avoid unused local variables such as 'r'
87 client/gui/LoginPage.java 110 Avoid unused local variables such as 'mainPanel'
88 client/gui/MechDetailDisplay.java 762 Avoid unused local variables such as 'modeText'
89 client/gui/MekDisplay.java 739 Avoid unused formal parameters such as 'evt'
90 client/gui/MekDisplay.java 765 Avoid unused formal parameters such as 'evt'
91 client/gui/MekDisplay.java 769 Avoid unused formal parameters such as 'evt'
92 client/gui/MekDisplay.java 794 Avoid unused formal parameters such as 'evt'
93 client/gui/MekDisplay.java 826 Avoid unused formal parameters such as 'evt'
94 client/gui/MekDisplay.java 828 Avoid unused formal parameters such as 'evt'
95 client/gui/MekDisplay.java 841 Avoid unused formal parameters such as 'evt'
96 client/gui/MekDisplay.java 994 Avoid unused formal parameters such as 'evt'
97 client/gui/MekDisplay.java 996 Avoid unused formal parameters such as 'evt'
98 client/gui/MekDisplay.java 1005 Avoid unused formal parameters such as 'evt'
99 client/gui/MekDisplay.java 1010 Avoid unused formal parameters such as 'evt'
100 client/gui/MekDisplay.java 1015 Avoid unused formal parameters such as 'evt'
101 client/gui/MekDisplay.java 1019 Avoid unused formal parameters such as 'evt'
102 client/gui/MekDisplay.java 1023 Avoid unused formal parameters such as 'evt'
103 client/gui/MekDisplay.java 1027 Avoid unused formal parameters such as 'evt'
104 client/gui/MekDisplay.java 1031 Avoid unused formal parameters such as 'evt'
105 client/gui/MekDisplay.java 1035 Avoid unused formal parameters such as 'evt'
106 client/gui/MekDisplay.java 1037 Avoid unused formal parameters such as 'evt'
107 client/gui/MekDisplay.java 1039 Avoid unused formal parameters such as 'evt'
108 client/gui/MekDisplay.java 1041 Avoid unused formal parameters such as 'evt'
109 client/gui/MekDisplay.java 1043 Avoid unused formal parameters such as 'evt'
110 client/gui/MekDisplay.java 1048 Avoid unused formal parameters such as 'evt'
111 client/gui/MekDisplay.java 1376 Avoid unused local variables such as 'lid'
112 client/gui/MekDisplay.java 1380 Avoid unused local variables such as 'lid'
113 client/gui/MekDisplay.java 1491 Avoid unused formal parameters such as 'e'
114 client/gui/MyImageView.java 68 Avoid unused local variables such as 'attr'
115 client/gui/MyImageView.java 813 Avoid unused private fields such as 'fGrowProportionally'
116 client/gui/PlanetPanel.java 57 Avoid unused private fields such as 'position'
117 client/gui/PreferencesDialog.java 40 Avoid unused private fields such as 'generalTabbedPane'
118 client/gui/PreferencesDialog.java 41 Avoid unused private fields such as 'connectionTabbedPane'
119 client/gui/PreferencesDialog.java 42 Avoid unused private fields such as 'displayTabbedPane'
120 client/gui/PreferencesDialog.java 43 Avoid unused private fields such as 'soundTabbedPane'
121 common/Planet.java 110 Avoid unused local variables such as 'influence'
122 common/Planet.java 111 Avoid unused local variables such as 'sset'
123 common/PlanetEnvironment.java 127 Avoid unused local variables such as 'bnd'
124 common/PlanetEnvironment.java 128 Avoid unused local variables such as 'other'
125 common/visitor/SaveVisitor.java 78 Avoid unused private methods such as 'attr(String,int)'
126 common/visitor/SaveVisitor.java 84 Avoid unused private methods such as 'attr(String,double)'
127 common/visitor/SaveVisitor.java 90 Avoid unused private methods such as 'attr(String,boolean)'
128 common/visitor/SaveVisitor.java 96 Avoid unused private methods such as 'attr(String,long)'
129 server/MMServ.java 74 Avoid unused private fields such as 'versionsubids'
130 server/MMServ.java 75 Avoid unused private fields such as 'mytime'
131 server/MMServ.java 77 Avoid unused private fields such as 'checkdate'
132 server/MMServ.java 997 Avoid unused private methods such as 'getLandForIP(String)'
133 server/MMServ.java 1117 Avoid unused local variables such as 'playername'
134 server/campaign/BuildTable.java 47 Avoid unused local variables such as 'MechTable'
135 server/campaign/BuildTable.java 67 Avoid unused private methods such as 'getListFromFile(String,String,int)'
136 server/campaign/CampaignMain.java 278 Avoid unused local variables such as 'tParse'
137 server/campaign/CampaignMain.java 683 Avoid unused local variables such as 'd'
138 server/campaign/CampaignMain.java 1569 Avoid unused local variables such as 'result'
139 server/campaign/SHouse.java 345 Avoid unused local variables such as 'numofmembers'
140 server/campaign/SHouse.java 616 Avoid unused local variables such as 'VehicleRefresh'
141 server/campaign/SHouse.java 617 Avoid unused local variables such as 'InfantryRefresh'
142 server/campaign/SHouse.java 770 Avoid unused local variables such as 'producer'
143 server/campaign/SHouse.java 857 Avoid unused local variables such as 'tempPlanetVec'
144 server/campaign/SHouse.java 1455 Avoid unused local variables such as 'mechInfluence'
145 server/campaign/SHouse.java 1547 Avoid unused local variables such as 'mechInfluence'
146 server/campaign/SHouse.java 2018 Avoid unused local variables such as 'e'
147 server/campaign/SPlanet.java 392 Avoid unused private methods such as 'generateOwnerNeighbours(HashSet,HashSet)'
148 server/campaign/SPlanet.java 449 Avoid unused private methods such as 'generateAlienNeighbours(HashSet,HashSet)'
149 server/campaign/SPlanet.java 499 Avoid unused local variables such as 'reqIsInOwnerHouse'
150 server/campaign/SPlayer.java 84 Avoid unused private fields such as 'attackRestrictionUntil'
151 server/campaign/SPlayer.java 286 Avoid unused local variables such as 'temp'
152 server/campaign/SPlayer.java 910 Avoid unused local variables such as 'hasNonSwarm'
153 server/campaign/SPlayer.java 1196 Avoid unused local variables such as 'oldexp'
154 server/campaign/SUnitFactory.java 211 Avoid unused local variables such as 'isLosTech'
155 server/campaign/SUnitFactory.java 212 Avoid unused local variables such as 'losTech'
156 server/campaign/commands/AskJumpCommand.java 32 Avoid unused local variables such as 'defender'
157 server/campaign/commands/BidCommand.java 27 Avoid unused local variables such as 'bidFluCost'
158 server/campaign/commands/CancelCommand.java 25 Avoid unused local variables such as 'p'
159 server/campaign/commands/CheckAttackCommand.java 59 Avoid unused local variables such as 'onelegal'
160 server/campaign/commands/CheckAttackCommand.java 82 Avoid unused local variables such as 'found'
161 server/campaign/commands/CreateArmyCommand.java 26 Avoid unused local variables such as 'maxlances'
162 server/campaign/commands/DonateCommand.java 63 Avoid unused local variables such as 'infToDonate'
163 server/campaign/commands/EnrollCommand.java 29 Avoid unused local variables such as 'HouseName'
164 server/campaign/commands/ForcedDefectCommand.java 33 Avoid unused local variables such as 'oldHouse'
165 server/campaign/commands/HouseRankingCommand.java 26 Avoid unused local variables such as 'p'
166 server/campaign/commands/RepodCommand.java 112 Avoid unused local variables such as 'from'
167 server/campaign/commands/RepodCommand.java 114 Avoid unused local variables such as 'to'
168 server/campaign/commands/RepodCommand.java 150 Avoid unused local variables such as 'influenceCost'
169 server/campaign/commands/SetMaintainedCommand.java 25 Avoid unused local variables such as 'shouldContinue'
170 server/campaign/commands/SetUnmaintainedCommand.java 30 Avoid unused local variables such as 'shouldContinue'
171 server/campaign/commands/VoteCommand.java 39 Avoid unused local variables such as 'newLevel'
172 server/campaign/market/Market.java 55 Avoid unused private fields such as 'serialisation'
173 server/campaign/market/Market.java 133 Avoid unused local variables such as 'known'
174 server/campaign/market/Market.java 363 Avoid unused local variables such as 'seo'
175 server/campaign/market/Market.java 365 Avoid unused local variables such as 'b'
176 server/campaign/market/Market.java 376 Avoid unused local variables such as 'x'
177 server/campaign/market/MarketUnit.java 75 Avoid unused local variables such as 'b'
178 server/campaign/tasks/ArenaTask.java 369 Avoid unused local variables such as 'all'
179 server/campaign/tasks/ComponentRaidTask.java 205 Avoid unused local variables such as 'all'
180 server/campaign/tasks/ComponentRaidTask.java 215 Avoid unused local variables such as 'loser'
181 server/campaign/tasks/DelayRaidTask.java 154 Avoid unused local variables such as 'all'
182 server/campaign/tasks/DelayRaidTask.java 164 Avoid unused local variables such as 'loser'
183 server/campaign/tasks/MechRaidTask.java 132 Avoid unused local variables such as 'all'
184 server/campaign/tasks/Task.java 85 Avoid unused private fields such as 'Task'
185 server/campaign/tasks/Task.java 89 Avoid unused private fields such as 'offset'
186 server/campaign/tasks/Task.java 91 Avoid unused private fields such as 'Influencecost'
187 server/campaign/tasks/Task.java 94 Avoid unused private fields such as 'autoreporteddeadmechs'
188 server/campaign/tasks/Task.java 614 Avoid unused local variables such as 'lanceid'
189 server/campaign/tasks/Task.java 1065 Avoid unused local variables such as 'reasonToTakeaTask'
190 server/campaign/tasks/Task.java 1788 Avoid unused local variables such as 'un'
191 server/campaign/util/PlayerEntry.java 28 Avoid unused private fields such as 'HouseRank'
192 server/campaign/util/TaskEntityStatistic.java 20 Avoid unused private fields such as 'id'
193 server/campaign/util/XMLFactionDataParser.java 55 Avoid unused private fields such as 'prefix'
194 server/campaign/util/XMLPlanetDataParser.java 67 Avoid unused private fields such as 'prefix'
195 server/campaign/util/XMLPlanetDataParser.java 410 Avoid unused local variables such as 'fileFound'
196 server/campaign/util/XMLTerrainDataParser.java 39 Avoid unused private fields such as 'prefix'
197 server/campaign/visitor/SXMLLoadVisitor.java 268 Avoid unused local variables such as 'contracts'
198 server/cyclops/CyclopsVisitor.java 50 Avoid unused local variables such as 'visitor'
199 server/dataProvider/commands/UnitRpcCommand.java 18 Avoid unused private fields such as 'data'
200 server/dataProvider/commands/UnitRpcCommand.java 46 Avoid unused local variables such as 'iteratingOverMarket'
201 server/util/TerrainGenerator.java 109 Avoid unused formal parameters such as 'data'
202 server/util/TerrainGenerator.java 113 Avoid unused formal parameters such as 'data'
203 server/util/TerrainGenerator.java 116 Avoid unused formal parameters such as 'data'
204 server/util/TerrainGenerator.java 120 Avoid unused formal parameters such as 'data'
205 server/util/TerrainGenerator.java 124 Avoid unused formal parameters such as 'data'
206 server/util/TerrainGenerator.java 145 Avoid unused formal parameters such as 'data'
207 server/util/TerrainGenerator.java 180 Avoid unused private methods such as 'getWaterDeepProb(int)'
208 server/util/TerrainGenerator.java 260 Avoid unused formal parameters such as 'data'
209 server/util/TerrainGenerator.java 263 Avoid unused formal parameters such as 'data'