Skip to content

Commit 1c390d9

Browse files
committed
ghaction no osx test
Signed-off-by: olivier lamy <[email protected]>
1 parent db87aa6 commit 1c390d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ jobs:
4949
java-version: ${{ matrix.java }}
5050

5151
- name: Build with Maven
52-
run: mvn install -e -B -V
52+
run: mvn install -e -B -V -Pno-tests-if-not-on-osx

plexus-compilers/plexus-compiler-j2objc/src/main/java/org/codehaus/plexus/compiler/j2objc/J2ObjCCompiler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private String[] buildCompilerArguments( CompilerConfiguration config, String[]
184184
/*
185185
* j2objc --help Usage: j2objc <options> <source files>
186186
*/
187-
List<String> args = new ArrayList<String>();
187+
List<String> args = new ArrayList<>();
188188
Map<String, String> compilerArguments = config.getCustomCompilerArgumentsAsMap();
189189

190190
// Verbose
@@ -199,7 +199,7 @@ private String[] buildCompilerArguments( CompilerConfiguration config, String[]
199199

200200
if ( !config.getClasspathEntries().isEmpty() )
201201
{
202-
List<String> classpath = new ArrayList<String>();
202+
List<String> classpath = new ArrayList<>();
203203
for ( String element : config.getClasspathEntries() )
204204
{
205205
File f = new File( element );
@@ -316,7 +316,7 @@ private List<CompilerMessage> compileOutOfProcess( File workingDirectory, File t
316316
public static List<CompilerMessage> parseCompilerOutput( BufferedReader bufferedReader )
317317
throws IOException
318318
{
319-
List<CompilerMessage> messages = new ArrayList<CompilerMessage>();
319+
List<CompilerMessage> messages = new ArrayList<>();
320320

321321
String line = bufferedReader.readLine();
322322

0 commit comments

Comments
 (0)