struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [5/6] struts git commit: Marks class as deprecated
Date Tue, 20 Jun 2017 10:45:24 GMT
Marks class as deprecated


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/31f0252e
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/31f0252e
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/31f0252e

Branch: refs/heads/master
Commit: 31f0252e60dabaec0fef77112c464b768c877f52
Parents: 05f3b7a
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Tue Jun 20 09:45:55 2017 +0200
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Tue Jun 20 09:45:55 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/com/opensymphony/xwork2/inject/util/Strings.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/31f0252e/core/src/main/java/com/opensymphony/xwork2/inject/util/Strings.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/com/opensymphony/xwork2/inject/util/Strings.java b/core/src/main/java/com/opensymphony/xwork2/inject/util/Strings.java
index a15291a..d138e21 100644
--- a/core/src/main/java/com/opensymphony/xwork2/inject/util/Strings.java
+++ b/core/src/main/java/com/opensymphony/xwork2/inject/util/Strings.java
@@ -21,6 +21,7 @@ package com.opensymphony.xwork2.inject.util;
  * 
  * @author crazybob@google.com (Bob Lee)
  */
+@Deprecated
 public class Strings {
 
   /**
@@ -43,6 +44,7 @@ public class Strings {
    *     converted to uppercase
    * @throws NullPointerException if <tt>s</tt> is null
    */
+  @Deprecated
   public static String capitalize(String s) {
     if (s.length() == 0)
       return s;


Mime
View raw message