Polishing
This commit is contained in:
@@ -47,7 +47,7 @@ public class ByteArrayResource extends AbstractResource {
|
||||
|
||||
|
||||
/**
|
||||
* Create a new ByteArrayResource.
|
||||
* Create a new {@code ByteArrayResource}.
|
||||
* @param byteArray the byte array to wrap
|
||||
*/
|
||||
public ByteArrayResource(byte[] byteArray) {
|
||||
@@ -55,7 +55,7 @@ public class ByteArrayResource extends AbstractResource {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new ByteArrayResource.
|
||||
* Create a new {@code ByteArrayResource} with a description.
|
||||
* @param byteArray the byte array to wrap
|
||||
* @param description where the byte array comes from
|
||||
*/
|
||||
@@ -65,6 +65,7 @@ public class ByteArrayResource extends AbstractResource {
|
||||
this.description = (description != null ? description : "");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return the underlying byte array.
|
||||
*/
|
||||
@@ -72,7 +73,6 @@ public class ByteArrayResource extends AbstractResource {
|
||||
return this.byteArray;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This implementation always returns {@code true}.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user