From f90f9fa877a08e2d52e8af4ff6396bc4f3a5403f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=82osz=20Sieradzki?= Date: Fri, 25 Jul 2014 19:33:29 +0200 Subject: [PATCH] Make util class non-instantiatable and non-extendable. --- src/acr/browser/lightning/Constants.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/acr/browser/lightning/Constants.java b/src/acr/browser/lightning/Constants.java index ba27e0c..539bb79 100644 --- a/src/acr/browser/lightning/Constants.java +++ b/src/acr/browser/lightning/Constants.java @@ -5,10 +5,9 @@ package acr.browser.lightning; import android.os.Environment; -public class Constants { +public final class Constants { - public Constants() { - // TODO Auto-generated constructor stub + private Constants() { } public static final String DESKTOP_USER_AGENT = "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/20 Safari/537.17";