File tree Expand file tree Collapse file tree 4 files changed +4
-69
lines changed
modello-core/src/main/java/org/codehaus/modello/plugin
modello-plugins/modello-plugin-java/src/main/java/org/codehaus/modello/plugin/java Expand file tree Collapse file tree 4 files changed +4
-69
lines changed Original file line number Diff line number Diff line change 4343import org .codehaus .modello .model .Version ;
4444import org .codehaus .plexus .PlexusConstants ;
4545import org .codehaus .plexus .PlexusContainer ;
46+ import org .codehaus .plexus .util .io .CachingWriter ;
4647import org .sonatype .plexus .build .incremental .BuildContext ;
4748import org .codehaus .plexus .component .repository .exception .ComponentLookupException ;
4849import org .codehaus .plexus .context .Context ;
@@ -293,13 +294,13 @@ protected BuildContext getBuildContext()
293294 return buildContext ;
294295 }
295296
296- protected Writer newWriter ( Path path )
297+ protected Writer newWriter ( Path path ) throws IOException
297298 {
298299 Charset charset = getEncoding () != null ? Charset .forName ( getEncoding () ) : Charset .defaultCharset ();
299300 return newWriter ( path , charset );
300301 }
301302
302- protected Writer newWriter ( Path path , Charset charset )
303+ protected Writer newWriter ( Path path , Charset charset ) throws IOException
303304 {
304305 CachingWriter cachingWriter = new CachingWriter ( path , charset );
305306 return new FilterWriter ( cachingWriter )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4848import org .codehaus .modello .model .ModelInterface ;
4949import org .codehaus .modello .model .ModelType ;
5050import org .codehaus .modello .plugin .AbstractModelloGenerator ;
51- import org .codehaus .modello .plugin .CachingWriter ;
5251import org .codehaus .modello .plugin .java .javasource .JClass ;
5352import org .codehaus .modello .plugin .java .javasource .JComment ;
5453import org .codehaus .modello .plugin .java .javasource .JInterface ;
Original file line number Diff line number Diff line change 327327 <dependency >
328328 <groupId >org.codehaus.plexus</groupId >
329329 <artifactId >plexus-utils</artifactId >
330- <version >3.4.1 </version >
330+ <version >3.4.2 </version >
331331 </dependency >
332332 <dependency >
333333 <groupId >org.codehaus.plexus</groupId >
You can’t perform that action at this time.
0 commit comments