Reputation
810
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
1 7 12
Newest
 Scholar
Impact
~10k people reached

  • 0 posts edited
  • 0 helpful flags
  • 12 votes cast
Apr
30
comment How much static analysis history should a company keep?
Hey, it'd be cool if you could accept one of those answers, or alternatively specify what's still missing from them in order to attract more answers. :)
Apr
27
comment Logging an audit trail (Java application)
Now that you put it like that, that's a good point. Thanks, I'll consider it!
Apr
27
comment Logging an audit trail (Java application)
Alright, thanks! I'm going to answer this one as I feel it actually answers the question the best. I have now implemented this thread local version using the pattern in this random blog post and I feel it does very neatly what it's supposed to do. :)
Apr
27
awarded  Scholar
Apr
27
accepted Logging an audit trail (Java application)
Apr
26
awarded  Student
Apr
26
awarded  Yearling
Apr
26
asked Logging an audit trail (Java application)
Apr
15
answered How much static analysis history should a company keep?
Apr
12
answered The best way of handing a form post as an API type of submission
Apr
12
comment The best way of handing a form post as an API type of submission
OK, thanks for the clarifications! How about the amount to be paid, is that supposed to be sent along with the form data as well? Can you give us a hint on what other data there is going to be?
Apr
12
comment Deciding the best way of modeling a timeslot or period of time for a schedule
How would you compare them? The duration of the slot or the starting time? Those are two different comparisons. You would also need to handle the cases where where a user would try to compare a "Monday", a "10 am to 11 am", a "March 15th" and a "3 January 2017" with each other, i.e. they couldn't be compared. But in general you should look into the TemporalAmount.get(TemporalUnit) method. For example, temporalAmount.get(java.time.temporal.ChronoUnit.HOURS) should get you the hour value, if available.
Apr
11
awarded  Custodian
Apr
11
comment The best way of handing a form post as an API type of submission
So who are these people that integrate with the form? Anyone, as in possibly tens or hundreds of thousands of different people, or a select few partners? And what is supposed to happen when the form is submitted? Is your credit card supposed to be billed instantly? Are you forwarded to somewhere else to complete the payment somehow? Or something else?
Apr
11
comment Deciding the best way of modeling a timeslot or period of time for a schedule
Oops, I'm very sorry! Thanks for spotting it, @Spotted! I've now edited my post. It should return the Optional itself.
Apr
11
revised Deciding the best way of modeling a timeslot or period of time for a schedule
fixed it so that it compiles...
Apr
10
revised Code structure of third party framework
static code analysis
Apr
10
answered What good Java template engine should have?
Apr
10
answered Code structure of third party framework
Apr
10
revised Deciding the best way of modeling a timeslot or period of time for a schedule
fix link: https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html