# | Line 94 | Line 94 | public class CPU__Monitor implements PluginMonitor { | |
---|---|---|
94 | //---PRIVATE METHODS--- | |
95 | ||
96 | private int checkAttribute(XMLPacket packet, String packetAttribute) { | |
97 | < | for(int x= _levels.length; x > 0; x--) { |
97 | > | for(int x = _levels.length - 1; x >= 0; x--) { |
98 | if (_levels[x] != -1) { | |
99 | if(packet.getParam(packetAttribute) != null) { | |
100 | double attribute = Double.parseDouble(packet.getParam(packetAttribute)); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |