package org.netmelody.cieye.server.configuration.avatar;

import java.text.MessageFormat;

public final class SimpleHttp implements PictureUrlProvider {

    @Override
    public String imageUrlFor(String picture) {
        return MessageFormat.format("http:{0}", picture);
    }

    @Override
    public String handlesPrefix() {
        return "http";
    }

}

@@ -57,41 +57,8 @@
 %0D%0A%0D%0A
-import java.text.MessageFormat;%0D%0A
 %0D%0Apu
@@ -203,48 +203,25 @@
 urn 
-MessageFormat.format(
 %22http:
-%7B0%7D%22,
+%22 +
  picture
 );%0D%0A
@@ -216,17 +216,16 @@
  picture
-)
 ;%0D%0A    %7D

simplify http