Remove unused code
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1146652 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/internal/misc/ConfigurationRender.java b/webconsole/src/main/java/org/apache/felix/webconsole/internal/misc/ConfigurationRender.java
index d838ee2..2e96882 100644
--- a/webconsole/src/main/java/org/apache/felix/webconsole/internal/misc/ConfigurationRender.java
+++ b/webconsole/src/main/java/org/apache/felix/webconsole/internal/misc/ConfigurationRender.java
@@ -19,7 +19,8 @@
import java.io.*;
import java.net.URL;
-import java.text.*;
+import java.text.DateFormat;
+import java.text.MessageFormat;
import java.util.*;
import java.util.zip.*;
@@ -51,14 +52,6 @@
private static final Locale DEFAULT = Locale.ENGLISH;
/**
- * Formatter pattern to generate a relative path for the generation
- * of the plain text or zip file representation of the status. The file
- * name consists of a base name and the current time of status generation.
- */
- private static final SimpleDateFormat FILE_NAME_FORMAT = new SimpleDateFormat( "'" + LABEL
- + "/configuration-status-'yyyyMMdd'-'HHmmZ" );
-
- /**
* Formatter pattern to render the current time of status generation.
*/
private static final DateFormat DISPLAY_DATE_FORMAT = DateFormat.getDateTimeInstance( DateFormat.LONG,
@@ -207,15 +200,6 @@
pw.print("<button type=\"button\" class=\"downloadZip\" style=\"float: right; margin-right: 30px; margin-top: 5px;\">Download Zip</button>");
pw.print("<button type=\"button\" class=\"downloadTxt\" style=\"float: right; margin-right: 30px; margin-top: 5px;\">Download Text</button>");
-/* synchronized ( FILE_NAME_FORMAT )
- {
- String fileName = FILE_NAME_FORMAT.format( currentTime );
- pw.print("<br/>Download as <a href='");
- pw.print(fileName);
- pw.print(".txt'>[Single File]</a> or as <a href='");
- pw.print(fileName);
- pw.println(".zip'>[ZIP]</a>");
- }*/
pw.println("<br/> </p>"); // status line