johnjaylward

Results 68 comments of johnjaylward

Another option may be to have a system property available that lets the user specify an alternative location for the TZdata file. This way you could run your application with...

I got the same error above, so I tried swapping out `@PrepareForTest` with `@PrepareOnlyThisForTest`, but that annotation doesn't seem to work: ```java @BeforeClass @PrepareOnlyThisForTest(ReflectionHelper.class) public void init() throws Exception {...

To work around this issue, I just commented out the first code block in https://github.com/Undev/redmine_tagging/blob/master/init.rb#L3 from lines 3-29 This only appears to disable tag search using the unified search.

From what I understand the EclipsePlugin under gradle is to handle things that are "one-off" (i.e. I use it to ignore warnings on generated source folders). It's not meant to...

@ejoncas-rivalbet , just to be sure I understand you correctly, you believe that `optLong` is correct, while `getLong` is wrong, correct? To be honest, I'm a little surprised that your...

hmm, I'm reading the javadocs on the parsers, and I'm not seeing a reference to the "leading 0 means octal" as noted in our comments. From what I can tell,...

The JSON spec does not allow leading zeros on a number: https://www.ietf.org/rfc/rfc4627.html#section-2.4 so I'm going with `optLong` being "more correct" than `getLong`

`stringToNumber` choice was to make number parsing more consistent across different number types (int, long, float, double, etc). Rereading the discussion here, I'm leaning towards modifying the `stringToNumber` implementation to...

also to note, for android compatibility, the code changes for "stringToNumber" will need to be copied to the `XML` class