This repository was archived by the owner on Jul 30, 2021. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed 
src/main/java/com/querydsl/codegen/utils Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 3333  <properties >
3434    <commons .collections.version>4.01</commons .collections.version>
3535    <commons .lang.version>3.0.1</commons .lang.version>
36-     <ecj .version>4.3 .1</ecj .version>
36+     <ecj .version>4.6 .1</ecj .version>
3737  </properties >
3838
3939  <dependencies >
Original file line number Diff line number Diff line change @@ -61,10 +61,7 @@ public class ECJEvaluatorFactory extends AbstractEvaluatorFactory {
6161
6262    public  static  CompilerOptions  getDefaultCompilerOptions () {
6363        String  javaSpecVersion  = System .getProperty ("java.specification.version" );
64-         if  (javaSpecVersion .equals ("1.8" ) || (javaSpecVersion .matches ("\\ d+" ) && Integer .parseInt (javaSpecVersion ) >= 9 )) {
65-             javaSpecVersion  = "1.7" ;
66-         }
67-         Map <String , Object > settings  = new  HashMap <>();
64+         Map <String , String > settings  = new  HashMap <>();
6865        settings .put (CompilerOptions .OPTION_Source , javaSpecVersion );
6966        settings .put (CompilerOptions .OPTION_TargetPlatform , javaSpecVersion );
7067        settings .put (CompilerOptions .OPTION_ReportDeprecation , CompilerOptions .IGNORE );
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments