mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valery Kharseko
11 hours ago 9b22e6c88920b4d06ff0a8a67153452f8fd1bd1b
opendj-server-legacy/src/snmp/src/org/opends/server/snmp/DsTableEntryImpl.java
@@ -73,7 +73,7 @@
        super(mib);
        this.server = server;
        this.monitor = SNMPMonitor.getMonitor(server);
        this.applIndex = new Integer(index);
        this.applIndex = Integer.valueOf(index);
    }
    /**
@@ -145,7 +145,7 @@
                Object value = this.monitor.getAttribute(name,
                        "ds-backend-entry-count");
                if (value != null && value instanceof String) {
                    result = result + new Long((String) value);
                    result = result + Long.valueOf((String) value);
                }else if (value != null && value instanceof Long) {
                    result = result + (Long)value;
                }