You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:25:17 UTC
[sling-org-apache-sling-commons-osgi] 03/11: ignore deprecation
warnings in unit tests
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.osgi-2.3.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-osgi.git
commit a28aeaf12f671420661fd4628781e30cd008bfb9
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Thu Mar 19 10:17:02 2015 +0000
ignore deprecation warnings in unit tests
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/osgi@1667690 13f79535-47bb-0310-9956-ffa450edef68
---
src/test/java/org/apache/sling/commons/osgi/OsgiUtilTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/sling/commons/osgi/OsgiUtilTest.java b/src/test/java/org/apache/sling/commons/osgi/OsgiUtilTest.java
index 2d2cc3e..a33e624 100644
--- a/src/test/java/org/apache/sling/commons/osgi/OsgiUtilTest.java
+++ b/src/test/java/org/apache/sling/commons/osgi/OsgiUtilTest.java
@@ -27,9 +27,9 @@ import junit.framework.TestCase;
import org.osgi.framework.Constants;
+@SuppressWarnings("deprecation")
public class OsgiUtilTest extends TestCase {
- @SuppressWarnings("deprecation")
public void testToDouble() {
// we test getProperty which calls toDouble - so we can test both
// methods in one go
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.