Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6183

TypedProperties doesn't deal with Integer correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • utils-1.11.2
    • None
    • Utils
    • None

    Description

      The simple following code:

              TypedProperties typedProperties = new TypedProperties();
              typedProperties.put("sshPort", 9999);
              typedProperties.save(new File("/home/jbonofre/test.properties"));
      

      shows value stored as I'9999" instead of "9999" or even 9999.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              jbonofre Jean-Baptiste Onofré
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: