weld/subsystem/src/main/java/org/jboss/as/weld/WeldSubsystemAdd.java
private boolean checkJtsEnabled(final OperationContext context) {
        try {
            final ModelNode jtsNode = context.readResourceFromRoot(PathAddress.pathAddress("subsystem", "transactions"), false)
                    .getModel().get("jts");
            return jtsNode.isDefined() ? jtsNode.asBoolean() : false;
        } catch (NoSuchResourceException ex) {
            return false;
        }
    }
private boolean checkJtsEnabled(final OperationContext context) {
        try {
            final ModelNode jtsNode = context.readResourceFromRoot(PathAddress.pathAddress("subsystem", "transactions"), false)
                    .getModel().get("jts");
            return jtsNode.isDefined() ? jtsNode.asBoolean() : false;
        } catch (NoSuchResourceException ex) {
            return false;
        }
    }
private boolean checkJtsEnabled ( final OperationContext context ) { try { final ModelNode jtsNode = context . readResourceFromRoot ( PathAddress . pathAddress ( "subsystem" , "transactions" ) , false ) . getModel ( ) . get ( "jts" ) ; return jtsNode . isDefined ( ) ? jtsNode . asBoolean ( ) : false ; } catch ( NoSuchResourceException ex ) { return false ; } }
not necessary.
not necessary .