Changeset 1966


Ignore:
Timestamp:
06/01/12 13:09:05 (12 years ago)
Author:
oschonef
Message:
  • clean up whitespace
File:
1 edited

Legend:

Unmodified
Added
Removed
  • SRUClient/trunk/src/main/java/eu/clarin/sru/client/SRUXMLStreamReader.java

    r1965 r1966  
    7373    }
    7474
    75    
     75
    7676    @Override
    7777    public int getAttributeCount() {
     
    339339    }
    340340
    341    
     341
    342342    long getByteCount() {
    343343        return stream.count;
    344344    }
    345345
    346    
     346
    347347    boolean readStart(String namespaceURI, String localName, boolean required)
    348348            throws XMLStreamException {
     
    474474    }
    475475
    476    
     476
    477477    String readString(boolean required) throws XMLStreamException {
    478478        // System.err.println("readString @ " + toReadable(reader));
     
    551551    }
    552552
    553    
     553
    554554    String dumpState() {
    555555        StringBuilder sb = new StringBuilder();
     
    659659    }
    660660
     661
    661662    private static void copyStartElement(XMLStreamReader from,
    662663            XMLStreamWriter to) throws XMLStreamException {
     
    673674            }
    674675        }
    675        
     676
    676677        final String prefix             = from.getPrefix();
    677678        final NamespaceContext from_ctx = from.getNamespaceContext();
     
    682683            to.setPrefix(prefix, from_ctx.getNamespaceURI(prefix));
    683684        }
    684        
     685
    685686        to.writeStartElement(prefix, from.getLocalName(),
    686687                from.getNamespaceURI());
     
    714715    }
    715716
    716    
     717
    717718    static {
    718         factory = (XMLInputFactory2) XMLInputFactory2.newInstance();
     719        factory = (XMLInputFactory2) XMLInputFactory.newInstance();
    719720        // Stax settings
    720721        factory.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.TRUE);
Note: See TracChangeset for help on using the changeset viewer.