Skip to content

Commit

Permalink
Avoid use of synthetic accessor method.
Browse files Browse the repository at this point in the history
  • Loading branch information
pferraro committed Jan 10, 2019
1 parent 2719fe7 commit 6837c44
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@ public Unmarshaller createUnmarshaller(int version) throws IOException {
@Override
public Marshaller createMarshaller(int version) throws IOException {
MarshallingConfiguration marshallingConfiguration = this.getMarshallingConfiguration(version);
MarshallerFactory factory = this.factory;
try {
return WildFlySecurityManager.doUnchecked(new PrivilegedExceptionAction<Marshaller>() {
@Override
public Marshaller run() throws Exception {
public Marshaller run() throws IOException {
return factory.createMarshaller(marshallingConfiguration);
}
});
Expand Down

0 comments on commit 6837c44

Please sign in to comment.