[forge/core] d0a15a: FORGE-2745: Allow customization of java code decor...
by Chris Laprun
Branch: refs/heads/master
Home: https://github.com/forge/core
Commit: d0a15ac83d327518c851b5f5a2c68c93900635b0
https://github.com/forge/core/commit/d0a15ac83d327518c851b5f5a2c68c939006...
Author: Chris Laprun <metacosm(a)users.noreply.github.com>
Date: 2017-05-19 (Fri, 19 May 2017)
Changed paths:
M parser-java/api/src/main/java/org/jboss/forge/addon/parser/java/ui/AbstractJavaSourceCommand.java
A parser-java/api/src/main/java/org/jboss/forge/addon/parser/java/ui/JavaSourceDecorator.java
M parser-java/tests/src/test/java/org/jboss/forge/addon/parser/java/ui/JavaSourceCommandTest.java
Log Message:
-----------
FORGE-2745: Allow customization of java code decoration via delegation. (#611)
Added JavaSourceDecorator interface which can be used in
AbstractJavaSourceCommand as a delegate, the default delegate being the
command itself since AbstractJavaSourceCommand implements this new
interface.
7 years, 7 months