Remove a JDK 1.6-ism

Review by: jat



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7278 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/user/client/rpc/RemoteServiceServletTest.java b/user/test/com/google/gwt/user/client/rpc/RemoteServiceServletTest.java
index 874fa53..90d63cc 100644
--- a/user/test/com/google/gwt/user/client/rpc/RemoteServiceServletTest.java
+++ b/user/test/com/google/gwt/user/client/rpc/RemoteServiceServletTest.java
@@ -196,7 +196,7 @@
   public void testPolicyStrongName() {
     String policy = ((ServiceDefTarget) getAsyncService()).getSerializationPolicyName();
     assertNotNull(policy);
-    assertTrue(!policy.isEmpty());
+    assertTrue(policy.length() != 0);
   }
 
   /**