Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.1.0-rc-1, 1.8.9, 2.0.7
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
We could add the following methods to GString:
byte[] getBytes(Charset charset) byte[] getBytes()
which could just call toString().getBytes()
if they are methods on String, then at least from Groovy they should work without adding anything. And I just checked, this works too. So what is this about?