maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1379721 - /maven/shared/trunk/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/reflection/ReflectorTestHelper.java
Date Sat, 01 Sep 2012 08:43:58 GMT
Author: struberg
Date: Sat Sep  1 08:43:58 2012
New Revision: 1379721

URL: http://svn.apache.org/viewvc?rev=1379721&view=rev
Log:
MSHARED-236 one .isEmpty() leftover removed for jdk-1.5 compat

Modified:
    maven/shared/trunk/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/reflection/ReflectorTestHelper.java

Modified: maven/shared/trunk/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/reflection/ReflectorTestHelper.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/reflection/ReflectorTestHelper.java?rev=1379721&r1=1379720&r2=1379721&view=diff
==============================================================================
--- maven/shared/trunk/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/reflection/ReflectorTestHelper.java
(original)
+++ maven/shared/trunk/maven-shared-utils/src/test/java/org/apache/maven/shared/utils/reflection/ReflectorTestHelper.java
Sat Sep  1 08:43:58 2012
@@ -3,7 +3,6 @@ package org.apache.maven.shared.utils.re
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
  * regarding copyright ownership.  The ASF licenses this file
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
@@ -85,7 +84,7 @@ class ReflectorTestHelper
 
     public static ReflectorTestHelper getInstance( String throwMessage )
     {
-        if ( throwMessage != null && !throwMessage.isEmpty() )
+        if ( throwMessage != null && throwMessage.length() > 0 )
         {
             throw new HelperException( throwMessage );
         }



Mime
View raw message