Github user Tibor17 commented on a diff in the pull request:

    https://github.com/apache/maven-surefire/pull/117#discussion_r79264943
  
    --- Diff: 
maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java
 ---
    @@ -34,10 +34,11 @@
     import org.apache.maven.plugins.annotations.Mojo;
     import org.apache.maven.plugins.annotations.Parameter;
     import org.apache.maven.plugins.annotations.ResolutionScope;
    -import org.apache.maven.shared.utils.ReaderFactory;
     import org.apache.maven.shared.utils.StringUtils;
     import org.apache.maven.surefire.suite.RunResult;
     
    +import static org.apache.maven.shared.utils.ReaderFactory.FILE_ENCODING;
    +
    --- End diff --
    
    I use it for several purposes. When line is getting to lone around 120 
characters and the constant is just a storage, or assertion statement when it 
is ugly to read the class; otherwise the whole statement is not verbal enough 
if class appears. I use IntelliJ IDEA which navigates me to the class where the 
constant is stored. I do not know how bout Eclipse abilities. I tried to use 
same name of method in static import and Java compiler failed, so it's safe 
compiler.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to