Changeset 2790 for FCSSimpleEndpoint


Ignore:
Timestamp:
04/10/13 09:50:44 (11 years ago)
Author:
oschonef
Message:
  • cosmetic fix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • FCSSimpleEndpoint/trunk/src/main/java/eu/clarin/sru/server/fcs/SimpleEndpointSearchEngineBase.java

    r2751 r2790  
    367367        }
    368368        if (!resourceInfoList.isEmpty()) {
    369             final boolean defaultNS = (prefix == null || prefix.isEmpty());
     369            final boolean defaultNS = ((prefix == null) || prefix.isEmpty());
    370370            if (defaultNS) {
    371371                writer.setDefaultNamespace(FCS_RESOURCE_INFO_NS);
     
    399399            String prefix, ResourceInfo resourceInfo, boolean writeNS,
    400400            boolean recursive) throws XMLStreamException {
    401         final boolean defaultNS = (prefix == null || prefix.isEmpty());
     401        final boolean defaultNS = ((prefix == null) || prefix.isEmpty());
    402402        if (writeNS) {
    403403            if (defaultNS) {
Note: See TracChangeset for help on using the changeset viewer.