From 66129173891bba60c3410b71cf524efb4597bde9 Mon Sep 17 00:00:00 2001 From: Daniel Linsley Date: Wed, 10 May 2017 23:01:32 -0600 Subject: [PATCH] Specify vsoType of Number for int inputs. vRO doesn't have "int" types --- .../vmware/o11n/plugin/crypto/model/CryptoEncoding.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/o11nplugin-crypto-core/src/main/java/com/vmware/o11n/plugin/crypto/model/CryptoEncoding.java b/o11nplugin-crypto-core/src/main/java/com/vmware/o11n/plugin/crypto/model/CryptoEncoding.java index 72eda48..d81ca84 100644 --- a/o11nplugin-crypto-core/src/main/java/com/vmware/o11n/plugin/crypto/model/CryptoEncoding.java +++ b/o11nplugin-crypto-core/src/main/java/com/vmware/o11n/plugin/crypto/model/CryptoEncoding.java @@ -73,16 +73,16 @@ public String binaryConcatBase64( return service.binaryConcatBase64(b64data1, b64data2); } - @VsoMethod(description="Decodes a Base64 String and returns the number of bytes that were encoded.") - public int getLengthBase64(@VsoParam(description="Base64 data ") String b64data) { + @VsoMethod(description="Decodes a Base64 String and returns the number of bytes that were encoded.",vsoReturnType="Number") + public int getLengthBase64(@VsoParam(description="Base64 data") String b64data) { return service.getLengthBase64(b64data); } @VsoMethod(description="Returns a subset of bytes from a Base64 encoded string") public String getSubsetBase64( @VsoParam(description="Base64 data") String b64data, - @VsoParam(description="Starting byte index to get subset of data (inclusive). Starts at 0") int start, - @VsoParam(description="number of bytes to return. Must be 1 or greater") int length) { + @VsoParam(description="Starting byte index to get subset of data (inclusive). Starts at 0",vsoType="Number") int start, + @VsoParam(description="number of bytes to return. Must be 1 or greater",vsoType="Number") int length) { if (length < 1) { throw new IllegalArgumentException("length must be 1 or greater"); }