View Javadoc
1   /*
2    * MIT License
3    * Copyright (c) 2006-2025 JMockit developers
4    * See LICENSE file for full license text.
5    */
6   package integration.tests;
7   
8   import org.slf4j.Logger;
9   import org.slf4j.LoggerFactory;
10  
11  /**
12   * The Class ClassNotExercised.
13   */
14  public final class ClassNotExercised {
15  
16      /** The logger. */
17      private static final Logger logger = LoggerFactory.getLogger(ClassNotExercised.class);
18  
19      /**
20       * Do something.
21       *
22       * @param i
23       *            the i
24       * @param s
25       *            the s
26       *
27       * @return true, if successful
28       */
29      public boolean doSomething(int i, String s) {
30          if (i > 0) {
31              logger.info(s);
32          }
33  
34          return !s.isEmpty();
35      }
36  }