View Javadoc
1   package com.github.mikkoi.maven.plugins.enforcer.rule.propertyusage;
2   
3   import java.io.FileInputStream;
4   import java.io.IOException;
5   import java.io.InputStream;
6   import java.util.Properties;
7   
8   @SuppressWarnings("all")
9   public class AppEmpty {
10  
11      public AppEmpty() {
12          Properties properties = new Properties();
13          try (InputStream inputStream = new FileInputStream("empty.properties") ) {
14              properties.load(inputStream);
15          } catch (IOException e) {
16              System.out.print(e.getMessage());
17          }
18  
19      }
20  }