version 2017.09
This commit is contained in:
@@ -32,16 +32,6 @@ import net.sourceforge.plantuml.FileFormat;
|
||||
@SuppressWarnings("serial")
|
||||
public class SvgServlet extends UmlDiagramService {
|
||||
|
||||
@Override
|
||||
public String getSource(String uri) {
|
||||
String[] result = uri.split("/svg/", 2);
|
||||
if (result.length != 2) {
|
||||
return "";
|
||||
} else {
|
||||
return result[1];
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public FileFormat getOutputFormat() {
|
||||
return FileFormat.SVG;
|
||||
|
||||
Reference in New Issue
Block a user