You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/02/22 22:01:28 UTC

[GitHub] [accumulo] DomGarguilo edited a comment on pull request #2515: replace some calculation with TimeUnit

DomGarguilo edited a comment on pull request #2515:
URL: https://github.com/apache/accumulo/pull/2515#issuecomment-1048252497


   > When you are talking about a wildcard import * are you refering to: `import static java.util.concurrent.TimeUnit.*;` Is so, why can't i use that ?
   
   The project does not allow for wildcard imports. Instead you will have to import all the parts separately i.e.
   ```java
   import static java.util.concurrent.TimeUnit.DAYS;
   import static java.util.concurrent.TimeUnit.HOURS;
   import static java.util.concurrent.TimeUnit.MINUTES;
   ``` 
   instead of 
   ```java
   import static java.util.concurrent.TimeUnit.*;
   ``` 
   
   > I'm unable to run `mvn clean package -DskipTests` without issues:
   
   What is your version of maven and operating system?
   
   EDIT: I was writing this at the same time as the comment above which gives a better response so refer to that one.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org