aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/tests/featurebrowser/FeatureUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/tests/featurebrowser/FeatureUtil.java')
-rw-r--r--src/com/vaadin/tests/featurebrowser/FeatureUtil.java37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/com/vaadin/tests/featurebrowser/FeatureUtil.java b/src/com/vaadin/tests/featurebrowser/FeatureUtil.java
deleted file mode 100644
index 077ee4fbe5..0000000000
--- a/src/com/vaadin/tests/featurebrowser/FeatureUtil.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-@ITMillApache2LicenseForJavaFiles@
- */
-
-package com.vaadin.tests.featurebrowser;
-
-import java.text.SimpleDateFormat;
-import java.util.Date;
-
-public class FeatureUtil {
-
- private static boolean statistics = false;
-
- public static final SimpleDateFormat format = new SimpleDateFormat(
- "yyyyMMdd HHmmss");
-
- public static void debug(String userIdentity, String msg) {
- if (statistics) {
- System.out.println("[" + userIdentity + "] " + msg);
- }
- }
-
- public static String getTimestamp() {
- if (statistics) {
- try {
- return format.format(new Date());
- } catch (final Exception e) {
- // ignored, should never happen
- }
- }
- return "";
- }
-
- public static void setStatistics(boolean statistics) {
- FeatureUtil.statistics = statistics;
- }
-}