232 reputation
213
bio website cryptonode.org
location United Kingdom
age
visits member for 1 year, 11 months
seen Oct 27 at 17:39

About me:

  • I'm interested in Java, Maven and anything related to cryptography or security.

  • I'm also an Apache Commons committer (focussed mainly on commons-lang).

  • Finally, I'm the author of JNCryptor, a Java library that simplifies encrypting data securely with AES.


Oct
27
awarded  Nice Question
Oct
8
awarded  Critic
Sep
24
awarded  Autobiographer
Jul
2
awarded  Curious
Mar
3
awarded  Yearling
Feb
26
awarded  Notable Question
Oct
29
awarded  Popular Question
May
9
accepted Shift bytes through a fixed sized buffer
Apr
29
comment Shift bytes through a fixed sized buffer
This looks like a nice approach - I'll give it a go.
Apr
29
comment Shift bytes through a fixed sized buffer
Because I never know when the underlying stream will finish, I must maintain n unreturned bytes within my class at all times. Can that constraint be met with your solution idea? Also, while your implementation comments are welcome, I'm particularly interested to see if I've overlooked existing code that acts in a similar fashion.
Apr
29
asked Shift bytes through a fixed sized buffer
Mar
31
comment Should a Presenter or a View sort data in an MVP application?
Thank you, some helpful links there.
Mar
31
accepted Should a Presenter or a View sort data in an MVP application?
Mar
27
revised Should a Presenter or a View sort data in an MVP application?
added 121 characters in body
Mar
26
comment Should a Presenter or a View sort data in an MVP application?
Thanks for the response. How would you approach the insertion of data into a list?
Mar
26
asked Should a Presenter or a View sort data in an MVP application?
Feb
27
accepted Is this an appropriate use of Mockito's reset method?
Feb
27
comment Is this an appropriate use of Mockito's reset method?
I've edited my question to highlight that the problem persists even if I don't call verify in my private method (which I agree, probably doesn't belong there). I welcome your comments on whether your answer would change.
Feb
27
revised Is this an appropriate use of Mockito's reset method?
deleted 178 characters in body
Feb
27
comment Is this an appropriate use of Mockito's reset method?
Yes, I've seen that exact quote (I linked to it from my question). Currently I'm yet to see a decent argument about why my example above is "bad". Can you supply one?