diff --git a/org.adempiere.server/src/main/home/org/bmlaurus/home/Prop.java b/org.adempiere.server/src/main/home/org/bmlaurus/home/Prop.java index eec28d9542..7d011432b6 100644 --- a/org.adempiere.server/src/main/home/org/bmlaurus/home/Prop.java +++ b/org.adempiere.server/src/main/home/org/bmlaurus/home/Prop.java @@ -193,7 +193,7 @@ public final class Prop implements Serializable { try { fis = new URL(getProperty(TEMPLATE_PATH)+getProperty(TEMPLATE_NAME)+"/styles/template.css"); byte data[]=read(fis); - ret+=Base64.getEncoder().encode (data); + ret+=Base64.getEncoder().encodeToString (data); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { @@ -273,7 +273,7 @@ public final class Prop implements Serializable { byte data[]=read(fis); if(data==null||data.length<=0) return null; - ret+=Base64.getEncoder().encode (data); + ret+=Base64.getEncoder().encodeToString (data); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) {