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

gbellato
07.14.2006 f32ad6243beb285a6257d8885fe1c9fd6b2644da
Fix 2 minor problems found while doing unit tests for Equality matching rules
1 files modified
12 ■■■■ changed files
opends/src/server/org/opends/server/schema/GeneralizedTimeEqualityMatchingRule.java 12 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/schema/GeneralizedTimeEqualityMatchingRule.java
@@ -497,11 +497,11 @@
            millisecond = Integer.parseInt(buffer.toString().substring(0, 3));
            switch (buffer.charAt(3))
            {
              case 5:
              case 6:
              case 7:
              case 8:
              case 9:
              case '5':
              case '6':
              case '7':
              case '8':
              case '9':
                millisecond++;
                break;
            }
@@ -734,7 +734,7 @@
          String hourStr = valueString.substring(endPos+1, endPos+3);
          String minStr  = valueString.substring(endPos+3, endPos+5);
          offset = (Integer.parseInt(hourStr) * 3600000) +
                   (Integer.parseInt(minStr) * 1000);
                   (Integer.parseInt(minStr) * 60000);
        }
        catch (Exception e)
        {