From dc6715320db92089b3c1b046157b56b5680738a5 Mon Sep 17 00:00:00 2001 From: Andrew John Hughes Date: Tue, 11 Jan 2011 19:46:05 +0000 Subject: Normalise whitespace in GNU Classpath. 2010-06-03 Andrew John Hughes * examples/gnu/classpath/examples/CORBA/NamingService/Demo.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPass.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturn.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNode.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisException.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterImplBase.java, * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterStub.java, * examples/gnu/classpath/examples/CORBA/swing/x5/CanvasWorld.java, * examples/gnu/classpath/examples/CORBA/swing/x5/ChatConstants.java, * examples/gnu/classpath/examples/CORBA/swing/x5/ClientFrame.java, * examples/gnu/classpath/examples/CORBA/swing/x5/Demo.java, * examples/gnu/classpath/examples/CORBA/swing/x5/GameManager.java, * examples/gnu/classpath/examples/CORBA/swing/x5/GameManagerImpl.java, * examples/gnu/classpath/examples/CORBA/swing/x5/IorReader.java, * examples/gnu/classpath/examples/CORBA/swing/x5/OrbStarter.java, * examples/gnu/classpath/examples/CORBA/swing/x5/Player.java, * examples/gnu/classpath/examples/CORBA/swing/x5/PlayerImpl.java, * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java, * examples/gnu/classpath/examples/CORBA/swing/x5/State.java, * examples/gnu/classpath/examples/CORBA/swing/x5/X5Server.java, * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java, * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManager_Stub.java, * examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java, * examples/gnu/classpath/examples/CORBA/swing/x5/_Player_Stub.java, * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java, * examples/gnu/classpath/examples/awt/Demo.java, * examples/gnu/classpath/examples/awt/HintingDemo.java, * examples/gnu/classpath/examples/datatransfer/Demo.java, * examples/gnu/classpath/examples/html/Demo.java, * examples/gnu/classpath/examples/java2d/J2dBenchmark.java, * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java, * examples/gnu/classpath/examples/java2d/JNIOverhead.java, * examples/gnu/classpath/examples/jawt/DemoJAWT.java, * examples/gnu/classpath/examples/management/TestClassLoading.java, * examples/gnu/classpath/examples/management/TestCompilation.java, * examples/gnu/classpath/examples/management/TestGarbageCollector.java, * examples/gnu/classpath/examples/management/TestMemory.java, * examples/gnu/classpath/examples/management/TestMemoryManager.java, * examples/gnu/classpath/examples/management/TestMemoryPool.java, * examples/gnu/classpath/examples/management/TestThread.java, * examples/gnu/classpath/examples/midi/Demo.java, * examples/gnu/classpath/examples/print/Demo.java, * examples/gnu/classpath/examples/sound/AudioPlayerSample.java, * examples/gnu/classpath/examples/swing/BrowserEditorKit.java, * examples/gnu/classpath/examples/swing/ButtonDemo.java, * examples/gnu/classpath/examples/swing/ComboBoxDemo.java, * examples/gnu/classpath/examples/swing/Demo.java, * examples/gnu/classpath/examples/swing/DemoFactory.java, * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java, * examples/gnu/classpath/examples/swing/FileChooserDemo.java, * examples/gnu/classpath/examples/swing/HtmlDemo.java, * examples/gnu/classpath/examples/swing/ListDemo.java, * examples/gnu/classpath/examples/swing/MetalThemeEditor.java, * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java, * examples/gnu/classpath/examples/swing/ScrollBarDemo.java, * examples/gnu/classpath/examples/swing/SliderDemo.java, * examples/gnu/classpath/examples/swing/SpinnerDemo.java, * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java, * examples/gnu/classpath/examples/swing/TableDemo.java, * examples/gnu/classpath/examples/swing/TextAreaDemo.java, * examples/gnu/classpath/examples/swing/TextFieldDemo.java, * examples/gnu/classpath/examples/swing/TreeDemo.java, * external/jsr166/java/util/ArrayDeque.java, * external/jsr166/java/util/concurrent/ArrayBlockingQueue.java, * external/jsr166/java/util/concurrent/ConcurrentHashMap.java, * external/jsr166/java/util/concurrent/ConcurrentSkipListMap.java, * external/jsr166/java/util/concurrent/ConcurrentSkipListSet.java, * external/jsr166/java/util/concurrent/CopyOnWriteArraySet.java, * external/jsr166/java/util/concurrent/CyclicBarrier.java, * external/jsr166/java/util/concurrent/DelayQueue.java, * external/jsr166/java/util/concurrent/Executors.java, * external/jsr166/java/util/concurrent/FutureTask.java, * external/jsr166/java/util/concurrent/LinkedBlockingDeque.java, * external/jsr166/java/util/concurrent/LinkedBlockingQueue.java, * external/jsr166/java/util/concurrent/PriorityBlockingQueue.java, * external/jsr166/java/util/concurrent/ScheduledExecutorService.java, * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java, * external/jsr166/java/util/concurrent/Semaphore.java, * external/jsr166/java/util/concurrent/SynchronousQueue.java, * external/jsr166/java/util/concurrent/ThreadPoolExecutor.java, * external/jsr166/java/util/concurrent/atomic/AtomicInteger.java, * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java, * external/jsr166/java/util/concurrent/atomic/AtomicLong.java, * external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java, * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java, * external/jsr166/java/util/concurrent/locks/AbstractQueuedLongSynchronizer.java, * external/jsr166/java/util/concurrent/locks/AbstractQueuedSynchronizer.java, * external/jsr166/java/util/concurrent/locks/ReentrantReadWriteLock.java, * external/relaxngDatatype/org/relaxng/datatype/Datatype.java, * external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java, * external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java, * external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java, * external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java, * external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java, * external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java, * external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java, * external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java, * external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java, * external/sax/org/xml/sax/AttributeList.java, * external/sax/org/xml/sax/Attributes.java, * external/sax/org/xml/sax/ContentHandler.java, * external/sax/org/xml/sax/DTDHandler.java, * external/sax/org/xml/sax/DocumentHandler.java, * external/sax/org/xml/sax/EntityResolver.java, * external/sax/org/xml/sax/ErrorHandler.java, * external/sax/org/xml/sax/HandlerBase.java, * external/sax/org/xml/sax/InputSource.java, * external/sax/org/xml/sax/Locator.java, * external/sax/org/xml/sax/Parser.java, * external/sax/org/xml/sax/SAXException.java, * external/sax/org/xml/sax/SAXNotRecognizedException.java, * external/sax/org/xml/sax/SAXNotSupportedException.java, * external/sax/org/xml/sax/SAXParseException.java, * external/sax/org/xml/sax/XMLReader.java, * external/sax/org/xml/sax/ext/Attributes2.java, * external/sax/org/xml/sax/ext/Attributes2Impl.java, * external/sax/org/xml/sax/ext/DeclHandler.java, * external/sax/org/xml/sax/ext/DefaultHandler2.java, * external/sax/org/xml/sax/ext/EntityResolver2.java, * external/sax/org/xml/sax/ext/LexicalHandler.java, * external/sax/org/xml/sax/ext/Locator2.java, * external/sax/org/xml/sax/ext/Locator2Impl.java, * external/sax/org/xml/sax/helpers/AttributeListImpl.java, * external/sax/org/xml/sax/helpers/AttributesImpl.java, * external/sax/org/xml/sax/helpers/DefaultHandler.java, * external/sax/org/xml/sax/helpers/LocatorImpl.java, * external/sax/org/xml/sax/helpers/NamespaceSupport.java, * external/sax/org/xml/sax/helpers/NewInstance.java, * external/sax/org/xml/sax/helpers/ParserAdapter.java, * external/sax/org/xml/sax/helpers/ParserFactory.java, * external/sax/org/xml/sax/helpers/XMLFilterImpl.java, * external/sax/org/xml/sax/helpers/XMLReaderAdapter.java, * external/sax/org/xml/sax/helpers/XMLReaderFactory.java, * external/w3c_dom/org/w3c/dom/Attr.java, * external/w3c_dom/org/w3c/dom/CDATASection.java, * external/w3c_dom/org/w3c/dom/CharacterData.java, * external/w3c_dom/org/w3c/dom/Comment.java, * external/w3c_dom/org/w3c/dom/DOMConfiguration.java, * external/w3c_dom/org/w3c/dom/DOMError.java, * external/w3c_dom/org/w3c/dom/DOMErrorHandler.java, * external/w3c_dom/org/w3c/dom/DOMException.java, * external/w3c_dom/org/w3c/dom/DOMImplementation.java, * external/w3c_dom/org/w3c/dom/DOMImplementationList.java, * external/w3c_dom/org/w3c/dom/DOMImplementationSource.java, * external/w3c_dom/org/w3c/dom/DOMLocator.java, * external/w3c_dom/org/w3c/dom/DOMStringList.java, * external/w3c_dom/org/w3c/dom/Document.java, * external/w3c_dom/org/w3c/dom/DocumentFragment.java, * external/w3c_dom/org/w3c/dom/DocumentType.java, * external/w3c_dom/org/w3c/dom/Element.java, * external/w3c_dom/org/w3c/dom/Entity.java, * external/w3c_dom/org/w3c/dom/EntityReference.java, * external/w3c_dom/org/w3c/dom/NameList.java, * external/w3c_dom/org/w3c/dom/NamedNodeMap.java, * external/w3c_dom/org/w3c/dom/Node.java, * external/w3c_dom/org/w3c/dom/NodeList.java, * external/w3c_dom/org/w3c/dom/Notation.java, * external/w3c_dom/org/w3c/dom/ProcessingInstruction.java, * external/w3c_dom/org/w3c/dom/Text.java, * external/w3c_dom/org/w3c/dom/TypeInfo.java, * external/w3c_dom/org/w3c/dom/UserDataHandler.java, * external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java, * external/w3c_dom/org/w3c/dom/css/CSS2Properties.java, * external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java, * external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java, * external/w3c_dom/org/w3c/dom/css/CSSImportRule.java, * external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java, * external/w3c_dom/org/w3c/dom/css/CSSPageRule.java, * external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java, * external/w3c_dom/org/w3c/dom/css/CSSRule.java, * external/w3c_dom/org/w3c/dom/css/CSSRuleList.java, * external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java, * external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java, * external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java, * external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java, * external/w3c_dom/org/w3c/dom/css/CSSValue.java, * external/w3c_dom/org/w3c/dom/css/CSSValueList.java, * external/w3c_dom/org/w3c/dom/css/Counter.java, * external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java, * external/w3c_dom/org/w3c/dom/css/DocumentCSS.java, * external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java, * external/w3c_dom/org/w3c/dom/css/RGBColor.java, * external/w3c_dom/org/w3c/dom/css/Rect.java, * external/w3c_dom/org/w3c/dom/css/ViewCSS.java, * external/w3c_dom/org/w3c/dom/events/DocumentEvent.java, * external/w3c_dom/org/w3c/dom/events/Event.java, * external/w3c_dom/org/w3c/dom/events/EventException.java, * external/w3c_dom/org/w3c/dom/events/EventListener.java, * external/w3c_dom/org/w3c/dom/events/EventTarget.java, * external/w3c_dom/org/w3c/dom/events/MouseEvent.java, * external/w3c_dom/org/w3c/dom/events/MutationEvent.java, * external/w3c_dom/org/w3c/dom/events/UIEvent.java, * external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java, * external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java, * external/w3c_dom/org/w3c/dom/html2/HTMLElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java, * external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java, * external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java, * external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java, * external/w3c_dom/org/w3c/dom/ls/LSException.java, * external/w3c_dom/org/w3c/dom/ls/LSInput.java, * external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java, * external/w3c_dom/org/w3c/dom/ls/LSOutput.java, * external/w3c_dom/org/w3c/dom/ls/LSParser.java, * external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java, * external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java, * external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java, * external/w3c_dom/org/w3c/dom/ls/LSSerializer.java, * external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java, * external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java, * external/w3c_dom/org/w3c/dom/ranges/Range.java, * external/w3c_dom/org/w3c/dom/ranges/RangeException.java, * external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java, * external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java, * external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java, * external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java, * external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java, * external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java, * external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java, * external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java, * external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java, * external/w3c_dom/org/w3c/dom/views/AbstractView.java, * external/w3c_dom/org/w3c/dom/views/DocumentView.java, * external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java, * external/w3c_dom/org/w3c/dom/xpath/XPathException.java, * external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java, * external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java, * external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java, * external/w3c_dom/org/w3c/dom/xpath/XPathResult.java, * gnu/CORBA/BigDecimalHelper.java, * gnu/CORBA/CDR/AbstractCdrInput.java, * gnu/CORBA/CDR/AbstractCdrOutput.java, * gnu/CORBA/CDR/AbstractDataInput.java, * gnu/CORBA/CDR/AbstractDataOutput.java, * gnu/CORBA/CDR/AligningInput.java, * gnu/CORBA/CDR/AligningOutput.java, * gnu/CORBA/CDR/ArrayValueHelper.java, * gnu/CORBA/CDR/BigEndianInputStream.java, * gnu/CORBA/CDR/BigEndianOutputStream.java, * gnu/CORBA/CDR/BufferedCdrOutput.java, * gnu/CORBA/CDR/BufferredCdrInput.java, * gnu/CORBA/CDR/HeadlessInput.java, * gnu/CORBA/CDR/IDLTypeHelper.java, * gnu/CORBA/CDR/LittleEndianOutputStream.java, * gnu/CORBA/CDR/UnknownExceptionCtxHandler.java, * gnu/CORBA/CDR/VMVio.java, * gnu/CORBA/CDR/Vio.java, * gnu/CORBA/CDR/gnuRuntime.java, * gnu/CORBA/CDR/gnuValueStream.java, * gnu/CORBA/CdrEncapsCodecImpl.java, * gnu/CORBA/CollocatedOrbs.java, * gnu/CORBA/Connected_objects.java, * gnu/CORBA/DefaultSocketFactory.java, * gnu/CORBA/DuplicateNameHolder.java, * gnu/CORBA/DynAn/AbstractAny.java, * gnu/CORBA/DynAn/DivideableAny.java, * gnu/CORBA/DynAn/NameValuePairHolder.java, * gnu/CORBA/DynAn/RecordAny.java, * gnu/CORBA/DynAn/ValueChangeListener.java, * gnu/CORBA/DynAn/gnuDynAny.java, * gnu/CORBA/DynAn/gnuDynAnyFactory.java, * gnu/CORBA/DynAn/gnuDynArray.java, * gnu/CORBA/DynAn/gnuDynEnum.java, * gnu/CORBA/DynAn/gnuDynFixed.java, * gnu/CORBA/DynAn/gnuDynSequence.java, * gnu/CORBA/DynAn/gnuDynUnion.java, * gnu/CORBA/DynAn/gnuDynValue.java, * gnu/CORBA/DynAn/gnuDynValueBox.java, * gnu/CORBA/DynAnySeqHolder.java, * gnu/CORBA/EmptyExceptionHolder.java, * gnu/CORBA/ForwardRequestHelper.java, * gnu/CORBA/GIOP/CharSets_OSF.java, * gnu/CORBA/GIOP/CloseMessage.java, * gnu/CORBA/GIOP/ErrorMessage.java, * gnu/CORBA/GIOP/MessageHeader.java, * gnu/CORBA/GIOP/ServiceContext.java, * gnu/CORBA/GIOP/v1_2/RequestHeader.java, * gnu/CORBA/GeneralHolder.java, * gnu/CORBA/IOR.java, * gnu/CORBA/Interceptor/ClientRequestInterceptors.java, * gnu/CORBA/Interceptor/ForwardRequestHolder.java, * gnu/CORBA/Interceptor/IORInterceptors.java, * gnu/CORBA/Interceptor/Registrator.java, * gnu/CORBA/Interceptor/ServerRequestInterceptors.java, * gnu/CORBA/Interceptor/gnuClientRequestInfo.java, * gnu/CORBA/Interceptor/gnuIcCurrent.java, * gnu/CORBA/Interceptor/gnuIorInfo.java, * gnu/CORBA/Interceptor/gnuServerRequestInfo.java, * gnu/CORBA/IorDelegate.java, * gnu/CORBA/IorObject.java, * gnu/CORBA/Minor.java, * gnu/CORBA/NameDynAnyPairHolder.java, * gnu/CORBA/NameDynAnyPairSeqHolder.java, * gnu/CORBA/NameValuePairHolder.java, * gnu/CORBA/NameValuePairSeqHolder.java, * gnu/CORBA/NamingService/NameParser.java, * gnu/CORBA/NamingService/NamingMap.java, * gnu/CORBA/NamingService/NamingServiceTransient.java, * gnu/CORBA/NamingService/TransientContext.java, * gnu/CORBA/ObjectCreator.java, * gnu/CORBA/OrbFocused.java, * gnu/CORBA/OrbFunctional.java, * gnu/CORBA/OrbRestricted.java, * gnu/CORBA/Poa/AOM.java, * gnu/CORBA/Poa/AccessiblePolicy.java, * gnu/CORBA/Poa/DynamicImpHandler.java, * gnu/CORBA/Poa/ForwardRequestHolder.java, * gnu/CORBA/Poa/ForwardedServant.java, * gnu/CORBA/Poa/InvalidPolicyHolder.java, * gnu/CORBA/Poa/LocalDelegate.java, * gnu/CORBA/Poa/LocalRequest.java, * gnu/CORBA/Poa/LocalServerRequest.java, * gnu/CORBA/Poa/ORB_1_4.java, * gnu/CORBA/Poa/ServantDelegateImpl.java, * gnu/CORBA/Poa/StandardPolicies.java, * gnu/CORBA/Poa/gnuAdapterActivator.java, * gnu/CORBA/Poa/gnuForwardRequest.java, * gnu/CORBA/Poa/gnuIdAssignmentPolicy.java, * gnu/CORBA/Poa/gnuIdUniquenessPolicy.java, * gnu/CORBA/Poa/gnuImplicitActivationPolicy.java, * gnu/CORBA/Poa/gnuLifespanPolicy.java, * gnu/CORBA/Poa/gnuPOA.java, * gnu/CORBA/Poa/gnuPOAManager.java, * gnu/CORBA/Poa/gnuPoaCurrent.java, * gnu/CORBA/Poa/gnuRequestProcessingPolicy.java, * gnu/CORBA/Poa/gnuServantObject.java, * gnu/CORBA/Poa/gnuServantRetentionPolicy.java, * gnu/CORBA/Poa/gnuThreadPolicy.java, * gnu/CORBA/ServiceRequestAdapter.java, * gnu/CORBA/SetOverrideTypeHolder.java, * gnu/CORBA/SimpleDelegate.java, * gnu/CORBA/SocketRepository.java, * gnu/CORBA/StreamHolder.java, * gnu/CORBA/TypeCodeHelper.java, * gnu/CORBA/TypeKindNamer.java, * gnu/CORBA/Version.java, * gnu/CORBA/_PolicyImplBase.java, * gnu/CORBA/gnuAny.java, * gnu/CORBA/gnuCodecFactory.java, * gnu/CORBA/gnuEnvironment.java, * gnu/CORBA/gnuRequest.java, * gnu/CORBA/gnuValueHolder.java, * gnu/CORBA/interfaces/SocketFactory.java, * gnu/CORBA/typecodes/AliasTypeCode.java, * gnu/CORBA/typecodes/ArrayTypeCode.java, * gnu/CORBA/typecodes/FixedTypeCode.java, * gnu/CORBA/typecodes/GeneralTypeCode.java, * gnu/CORBA/typecodes/PrimitiveTypeCode.java, * gnu/CORBA/typecodes/RecordTypeCode.java, * gnu/CORBA/typecodes/RecursiveTypeCode.java, * gnu/CORBA/typecodes/StringTypeCode.java, * gnu/classpath/Pair.java, * gnu/classpath/Pointer.java, * gnu/classpath/Pointer32.java, * gnu/classpath/Pointer64.java, * gnu/classpath/ServiceFactory.java, * gnu/classpath/ServiceProviderLoadingAction.java, * gnu/classpath/SystemProperties.java, * gnu/classpath/debug/Component.java, * gnu/classpath/debug/PreciseFilter.java, * gnu/classpath/debug/SystemLogger.java, * gnu/classpath/debug/TeeInputStream.java, * gnu/classpath/debug/TeeReader.java, * gnu/classpath/jdwp/Jdwp.java, * gnu/classpath/jdwp/JdwpConstants.java, * gnu/classpath/jdwp/event/BreakpointEvent.java, * gnu/classpath/jdwp/event/ClassPrepareEvent.java, * gnu/classpath/jdwp/event/ClassUnloadEvent.java, * gnu/classpath/jdwp/event/Event.java, * gnu/classpath/jdwp/event/EventManager.java, * gnu/classpath/jdwp/event/EventRequest.java, * gnu/classpath/jdwp/event/ExceptionEvent.java, * gnu/classpath/jdwp/event/MethodEntryEvent.java, * gnu/classpath/jdwp/event/MethodExitEvent.java, * gnu/classpath/jdwp/event/SingleStepEvent.java, * gnu/classpath/jdwp/event/ThreadEndEvent.java, * gnu/classpath/jdwp/event/VmDeathEvent.java, * gnu/classpath/jdwp/event/VmInitEvent.java, * gnu/classpath/jdwp/event/filters/ClassExcludeFilter.java, * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java, * gnu/classpath/jdwp/event/filters/ClassOnlyFilter.java, * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java, * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java, * gnu/classpath/jdwp/event/filters/InstanceOnlyFilter.java, * gnu/classpath/jdwp/event/filters/StepFilter.java, * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java, * gnu/classpath/jdwp/exception/InvalidClassException.java, * gnu/classpath/jdwp/exception/InvalidClassLoaderException.java, * gnu/classpath/jdwp/exception/InvalidEventTypeException.java, * gnu/classpath/jdwp/exception/InvalidFieldException.java, * gnu/classpath/jdwp/exception/InvalidFrameException.java, * gnu/classpath/jdwp/exception/InvalidLocationException.java, * gnu/classpath/jdwp/exception/InvalidMethodException.java, * gnu/classpath/jdwp/exception/InvalidObjectException.java, * gnu/classpath/jdwp/exception/InvalidSlotException.java, * gnu/classpath/jdwp/exception/InvalidStringException.java, * gnu/classpath/jdwp/exception/InvalidThreadException.java, * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java, * gnu/classpath/jdwp/exception/NativeMethodException.java, * gnu/classpath/jdwp/exception/NotImplementedException.java, * gnu/classpath/jdwp/id/JdwpId.java, * gnu/classpath/jdwp/id/NullObjectId.java, * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ArrayTypeCommandSet.java, * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ClassObjectReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java, * gnu/classpath/jdwp/processor/CommandSet.java, * gnu/classpath/jdwp/processor/EventRequestCommandSet.java, * gnu/classpath/jdwp/processor/FieldCommandSet.java, * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java, * gnu/classpath/jdwp/processor/MethodCommandSet.java, * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java, * gnu/classpath/jdwp/processor/PacketProcessor.java, * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java, * gnu/classpath/jdwp/processor/StackFrameCommandSet.java, * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java, * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java, * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java, * gnu/classpath/jdwp/transport/JdwpCommandPacket.java, * gnu/classpath/jdwp/transport/JdwpConnection.java, * gnu/classpath/jdwp/transport/JdwpPacket.java, * gnu/classpath/jdwp/transport/JdwpReplyPacket.java, * gnu/classpath/jdwp/transport/SocketTransport.java, * gnu/classpath/jdwp/transport/TransportFactory.java, * gnu/classpath/jdwp/util/JdwpString.java, * gnu/classpath/jdwp/util/LineTable.java, * gnu/classpath/jdwp/util/Location.java, * gnu/classpath/jdwp/util/MethodResult.java, * gnu/classpath/jdwp/util/MonitorInfo.java, * gnu/classpath/jdwp/util/Signature.java, * gnu/classpath/jdwp/util/VariableTable.java, * gnu/classpath/jdwp/value/ArrayValue.java, * gnu/classpath/jdwp/value/BooleanValue.java, * gnu/classpath/jdwp/value/ByteValue.java, * gnu/classpath/jdwp/value/CharValue.java, * gnu/classpath/jdwp/value/DoubleValue.java, * gnu/classpath/jdwp/value/FloatValue.java, * gnu/classpath/jdwp/value/IntValue.java, * gnu/classpath/jdwp/value/LongValue.java, * gnu/classpath/jdwp/value/ObjectValue.java, * gnu/classpath/jdwp/value/ShortValue.java, * gnu/classpath/jdwp/value/StringValue.java, * gnu/classpath/jdwp/value/Value.java, * gnu/classpath/jdwp/value/ValueFactory.java, * gnu/classpath/jdwp/value/VoidValue.java, * gnu/classpath/toolkit/DefaultDaemonThreadFactory.java, * gnu/java/awt/AWTUtilities.java, * gnu/java/awt/BitMaskExtent.java, * gnu/java/awt/BitwiseXORComposite.java, * gnu/java/awt/Buffers.java, * gnu/java/awt/ClasspathGraphicsEnvironment.java, * gnu/java/awt/ClasspathToolkit.java, * gnu/java/awt/ComponentDataBlitOp.java, * gnu/java/awt/EmbeddedWindow.java, * gnu/java/awt/GradientPaintContext.java, * gnu/java/awt/color/CieXyzConverter.java, * gnu/java/awt/color/ClutProfileConverter.java, * gnu/java/awt/color/ColorLookUpTable.java, * gnu/java/awt/color/GrayProfileConverter.java, * gnu/java/awt/color/GrayScaleConverter.java, * gnu/java/awt/color/LinearRGBConverter.java, * gnu/java/awt/color/ProfileHeader.java, * gnu/java/awt/color/RgbProfileConverter.java, * gnu/java/awt/color/SrgbConverter.java, * gnu/java/awt/color/ToneReproductionCurve.java, * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java, * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java, * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java, * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java, * gnu/java/awt/font/FontDelegate.java, * gnu/java/awt/font/FontFactory.java, * gnu/java/awt/font/GNUGlyphVector.java, * gnu/java/awt/font/OpenTypeFontPeer.java, * gnu/java/awt/font/autofit/GlyphHints.java, * gnu/java/awt/font/autofit/Latin.java, * gnu/java/awt/font/autofit/Utils.java, * gnu/java/awt/font/opentype/CharGlyphMap.java, * gnu/java/awt/font/opentype/GlyphNamer.java, * gnu/java/awt/font/opentype/MacResourceFork.java, * gnu/java/awt/font/opentype/NameDecoder.java, * gnu/java/awt/font/opentype/OpenTypeFont.java, * gnu/java/awt/font/opentype/OpenTypeFontFactory.java, * gnu/java/awt/font/opentype/truetype/GlyphLoader.java, * gnu/java/awt/font/opentype/truetype/GlyphLocator.java, * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java, * gnu/java/awt/font/opentype/truetype/Point.java, * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java, * gnu/java/awt/font/opentype/truetype/VirtualMachine.java, * gnu/java/awt/font/opentype/truetype/Zone.java, * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java, * gnu/java/awt/image/AsyncImage.java, * gnu/java/awt/image/ImageConverter.java, * gnu/java/awt/image/ImageDecoder.java, * gnu/java/awt/image/XBMDecoder.java, * gnu/java/awt/java2d/AbstractGraphics2D.java, * gnu/java/awt/java2d/AlphaCompositeContext.java, * gnu/java/awt/java2d/CubicSegment.java, * gnu/java/awt/java2d/LineSegment.java, * gnu/java/awt/java2d/PixelCoverage.java, * gnu/java/awt/java2d/QuadSegment.java, * gnu/java/awt/java2d/RasterGraphics.java, * gnu/java/awt/java2d/ScanlineConverter.java, * gnu/java/awt/java2d/ScanlineCoverage.java, * gnu/java/awt/java2d/Segment.java, * gnu/java/awt/java2d/TexturePaintContext.java, * gnu/java/awt/peer/ClasspathDesktopPeer.java, * gnu/java/awt/peer/ClasspathFontPeer.java, * gnu/java/awt/peer/GLightweightPeer.java, * gnu/java/awt/peer/GnomeDesktopPeer.java, * gnu/java/awt/peer/KDEDesktopPeer.java, * gnu/java/awt/peer/gtk/AsyncImage.java, * gnu/java/awt/peer/gtk/BufferedImageGraphics.java, * gnu/java/awt/peer/gtk/CairoGraphics2D.java, * gnu/java/awt/peer/gtk/CairoSurface.java, * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java, * gnu/java/awt/peer/gtk/ComponentGraphics.java, * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java, * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java, * gnu/java/awt/peer/gtk/GdkFontPeer.java, * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java, * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java, * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, * gnu/java/awt/peer/gtk/GdkRobotPeer.java, * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java, * gnu/java/awt/peer/gtk/GtkButtonPeer.java, * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, * gnu/java/awt/peer/gtk/GtkChoicePeer.java, * gnu/java/awt/peer/gtk/GtkClipboard.java, * gnu/java/awt/peer/gtk/GtkComponentPeer.java, * gnu/java/awt/peer/gtk/GtkContainerPeer.java, * gnu/java/awt/peer/gtk/GtkCursor.java, * gnu/java/awt/peer/gtk/GtkDialogPeer.java, * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, * gnu/java/awt/peer/gtk/GtkFramePeer.java, * gnu/java/awt/peer/gtk/GtkGenericPeer.java, * gnu/java/awt/peer/gtk/GtkImage.java, * gnu/java/awt/peer/gtk/GtkImageConsumer.java, * gnu/java/awt/peer/gtk/GtkLabelPeer.java, * gnu/java/awt/peer/gtk/GtkListPeer.java, * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, * gnu/java/awt/peer/gtk/GtkMenuPeer.java, * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java, * gnu/java/awt/peer/gtk/GtkPanelPeer.java, * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java, * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java, * gnu/java/awt/peer/gtk/GtkSelection.java, * gnu/java/awt/peer/gtk/GtkToolkit.java, * gnu/java/awt/peer/gtk/GtkVolatileImage.java, * gnu/java/awt/peer/gtk/GtkWindowPeer.java, * gnu/java/awt/peer/gtk/VolatileImageGraphics.java, * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java, * gnu/java/awt/peer/qt/MainQtThread.java, * gnu/java/awt/peer/qt/QMatrix.java, * gnu/java/awt/peer/qt/QPainterPath.java, * gnu/java/awt/peer/qt/QPen.java, * gnu/java/awt/peer/qt/QtAudioClip.java, * gnu/java/awt/peer/qt/QtButtonPeer.java, * gnu/java/awt/peer/qt/QtCheckboxPeer.java, * gnu/java/awt/peer/qt/QtChoicePeer.java, * gnu/java/awt/peer/qt/QtComponentGraphics.java, * gnu/java/awt/peer/qt/QtComponentPeer.java, * gnu/java/awt/peer/qt/QtContainerPeer.java, * gnu/java/awt/peer/qt/QtDialogPeer.java, * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java, * gnu/java/awt/peer/qt/QtFileDialogPeer.java, * gnu/java/awt/peer/qt/QtFontMetrics.java, * gnu/java/awt/peer/qt/QtFontPeer.java, * gnu/java/awt/peer/qt/QtFramePeer.java, * gnu/java/awt/peer/qt/QtGraphics.java, * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java, * gnu/java/awt/peer/qt/QtImage.java, * gnu/java/awt/peer/qt/QtImageConsumer.java, * gnu/java/awt/peer/qt/QtImageDirectGraphics.java, * gnu/java/awt/peer/qt/QtImageGraphics.java, * gnu/java/awt/peer/qt/QtLabelPeer.java, * gnu/java/awt/peer/qt/QtListPeer.java, * gnu/java/awt/peer/qt/QtMenuBarPeer.java, * gnu/java/awt/peer/qt/QtMenuComponentPeer.java, * gnu/java/awt/peer/qt/QtMenuItemPeer.java, * gnu/java/awt/peer/qt/QtMenuPeer.java, * gnu/java/awt/peer/qt/QtPanelPeer.java, * gnu/java/awt/peer/qt/QtPopupMenuPeer.java, * gnu/java/awt/peer/qt/QtRepaintThread.java, * gnu/java/awt/peer/qt/QtScreenDevice.java, * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java, * gnu/java/awt/peer/qt/QtScrollPanePeer.java, * gnu/java/awt/peer/qt/QtScrollbarPeer.java, * gnu/java/awt/peer/qt/QtTextAreaPeer.java, * gnu/java/awt/peer/qt/QtTextFieldPeer.java, * gnu/java/awt/peer/qt/QtToolkit.java, * gnu/java/awt/peer/qt/QtVolatileImage.java, * gnu/java/awt/peer/qt/QtWindowPeer.java, * gnu/java/awt/peer/swing/SwingButtonPeer.java, * gnu/java/awt/peer/swing/SwingCheckboxPeer.java, * gnu/java/awt/peer/swing/SwingComponent.java, * gnu/java/awt/peer/swing/SwingComponentPeer.java, * gnu/java/awt/peer/swing/SwingContainerPeer.java, * gnu/java/awt/peer/swing/SwingLabelPeer.java, * gnu/java/awt/peer/swing/SwingListPeer.java, * gnu/java/awt/peer/swing/SwingMenuItemPeer.java, * gnu/java/awt/peer/swing/SwingMenuPeer.java, * gnu/java/awt/peer/swing/SwingTextAreaPeer.java, * gnu/java/awt/peer/swing/SwingTextFieldPeer.java, * gnu/java/awt/peer/x/GLGraphics.java, * gnu/java/awt/peer/x/KeyboardMapping.java, * gnu/java/awt/peer/x/XEventPump.java, * gnu/java/awt/peer/x/XFontPeer.java, * gnu/java/awt/peer/x/XFramePeer.java, * gnu/java/awt/peer/x/XGraphics2D.java, * gnu/java/awt/peer/x/XGraphicsConfiguration.java, * gnu/java/awt/peer/x/XGraphicsDevice.java, * gnu/java/awt/peer/x/XGraphicsEnvironment.java, * gnu/java/awt/peer/x/XImage.java, * gnu/java/awt/peer/x/XToolkit.java, * gnu/java/awt/peer/x/XWindowPeer.java, * gnu/java/awt/print/JavaPrinterGraphics.java, * gnu/java/awt/print/JavaPrinterJob.java, * gnu/java/awt/print/PostScriptGraphics2D.java, * gnu/java/awt/print/SpooledDocument.java, * gnu/java/beans/BeanInfoEmbryo.java, * gnu/java/beans/DefaultExceptionListener.java, * gnu/java/beans/ExplicitBeanInfo.java, * gnu/java/beans/IntrospectionIncubator.java, * gnu/java/beans/decoder/AbstractContext.java, * gnu/java/beans/decoder/AbstractCreatableObjectContext.java, * gnu/java/beans/decoder/AbstractElementHandler.java, * gnu/java/beans/decoder/AbstractObjectContext.java, * gnu/java/beans/decoder/ArrayContext.java, * gnu/java/beans/decoder/ArrayHandler.java, * gnu/java/beans/decoder/AssemblyException.java, * gnu/java/beans/decoder/BooleanHandler.java, * gnu/java/beans/decoder/ByteHandler.java, * gnu/java/beans/decoder/CharHandler.java, * gnu/java/beans/decoder/ClassHandler.java, * gnu/java/beans/decoder/ConstructorContext.java, * gnu/java/beans/decoder/Context.java, * gnu/java/beans/decoder/DecoderContext.java, * gnu/java/beans/decoder/DoubleHandler.java, * gnu/java/beans/decoder/DummyContext.java, * gnu/java/beans/decoder/DummyHandler.java, * gnu/java/beans/decoder/ElementHandler.java, * gnu/java/beans/decoder/FloatHandler.java, * gnu/java/beans/decoder/GrowableArrayContext.java, * gnu/java/beans/decoder/IndexContext.java, * gnu/java/beans/decoder/IntHandler.java, * gnu/java/beans/decoder/JavaHandler.java, * gnu/java/beans/decoder/LongHandler.java, * gnu/java/beans/decoder/MethodContext.java, * gnu/java/beans/decoder/MethodFinder.java, * gnu/java/beans/decoder/NullHandler.java, * gnu/java/beans/decoder/ObjectContext.java, * gnu/java/beans/decoder/ObjectHandler.java, * gnu/java/beans/decoder/PersistenceParser.java, * gnu/java/beans/decoder/PropertyContext.java, * gnu/java/beans/decoder/ShortHandler.java, * gnu/java/beans/decoder/SimpleHandler.java, * gnu/java/beans/decoder/StaticMethodContext.java, * gnu/java/beans/decoder/StringHandler.java, * gnu/java/beans/decoder/VoidHandler.java, * gnu/java/beans/editors/ColorEditor.java, * gnu/java/beans/editors/FontEditor.java, * gnu/java/beans/editors/NativeBooleanEditor.java, * gnu/java/beans/editors/NativeByteEditor.java, * gnu/java/beans/editors/NativeDoubleEditor.java, * gnu/java/beans/editors/NativeFloatEditor.java, * gnu/java/beans/editors/NativeIntEditor.java, * gnu/java/beans/editors/NativeLongEditor.java, * gnu/java/beans/editors/NativeShortEditor.java, * gnu/java/beans/editors/StringEditor.java, * gnu/java/beans/encoder/ArrayPersistenceDelegate.java, * gnu/java/beans/encoder/ClassPersistenceDelegate.java, * gnu/java/beans/encoder/CollectionPersistenceDelegate.java, * gnu/java/beans/encoder/Context.java, * gnu/java/beans/encoder/GenericScannerState.java, * gnu/java/beans/encoder/IgnoringScannerState.java, * gnu/java/beans/encoder/MapPersistenceDelegate.java, * gnu/java/beans/encoder/ObjectId.java, * gnu/java/beans/encoder/PrimitivePersistenceDelegate.java, * gnu/java/beans/encoder/ReportingScannerState.java, * gnu/java/beans/encoder/Root.java, * gnu/java/beans/encoder/ScanEngine.java, * gnu/java/beans/encoder/ScannerState.java, * gnu/java/beans/encoder/StAXWriter.java, * gnu/java/beans/encoder/Writer.java, * gnu/java/beans/encoder/elements/ArrayInstantiation.java, * gnu/java/beans/encoder/elements/Array_Get.java, * gnu/java/beans/encoder/elements/ClassResolution.java, * gnu/java/beans/encoder/elements/Element.java, * gnu/java/beans/encoder/elements/List_Get.java, * gnu/java/beans/encoder/elements/List_Set.java, * gnu/java/beans/encoder/elements/MethodInvocation.java, * gnu/java/beans/encoder/elements/NullObject.java, * gnu/java/beans/encoder/elements/ObjectInstantiation.java, * gnu/java/beans/encoder/elements/ObjectReference.java, * gnu/java/beans/encoder/elements/PrimitiveInstantiation.java, * gnu/java/beans/encoder/elements/StaticFieldAccess.java, * gnu/java/beans/encoder/elements/StaticMethodInvocation.java, * gnu/java/beans/encoder/elements/StringReference.java, * gnu/java/io/ASN1ParsingException.java, * gnu/java/io/Base64InputStream.java, * gnu/java/io/ClassLoaderObjectInputStream.java, * gnu/java/io/NullOutputStream.java, * gnu/java/io/ObjectIdentityMap2Int.java, * gnu/java/io/ObjectIdentityWrapper.java, * gnu/java/io/PlatformHelper.java, * gnu/java/lang/CPStringBuilder.java, * gnu/java/lang/CharData.java, * gnu/java/lang/InstrumentationImpl.java, * gnu/java/lang/MainThread.java, * gnu/java/lang/management/BeanImpl.java, * gnu/java/lang/management/ClassLoadingMXBeanImpl.java, * gnu/java/lang/management/CompilationMXBeanImpl.java, * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java, * gnu/java/lang/management/MemoryMXBeanImpl.java, * gnu/java/lang/management/MemoryManagerMXBeanImpl.java, * gnu/java/lang/management/MemoryPoolMXBeanImpl.java, * gnu/java/lang/management/OperatingSystemMXBeanImpl.java, * gnu/java/lang/management/RuntimeMXBeanImpl.java, * gnu/java/lang/management/ThreadMXBeanImpl.java, * gnu/java/lang/reflect/TypeSignature.java, * gnu/java/locale/LocaleHelper.java, * gnu/java/math/Fixed.java, * gnu/java/math/GMP.java, * gnu/java/math/MPN.java, * gnu/java/net/CRLFInputStream.java, * gnu/java/net/CRLFOutputStream.java, * gnu/java/net/DefaultContentHandlerFactory.java, * gnu/java/net/DefaultProxySelector.java, * gnu/java/net/EmptyX509TrustManager.java, * gnu/java/net/GetLocalHostAction.java, * gnu/java/net/HeaderFieldHelper.java, * gnu/java/net/IndexListParser.java, * gnu/java/net/LineInputStream.java, * gnu/java/net/PlainDatagramSocketImpl.java, * gnu/java/net/PlainSocketImpl.java, * gnu/java/net/loader/FileResource.java, * gnu/java/net/loader/FileURLLoader.java, * gnu/java/net/loader/JarURLLoader.java, * gnu/java/net/loader/JarURLResource.java, * gnu/java/net/loader/RemoteResource.java, * gnu/java/net/loader/RemoteURLLoader.java, * gnu/java/net/loader/Resource.java, * gnu/java/net/loader/URLLoader.java, * gnu/java/net/protocol/file/Connection.java, * gnu/java/net/protocol/file/Handler.java, * gnu/java/net/protocol/ftp/ActiveModeDTP.java, * gnu/java/net/protocol/ftp/BlockInputStream.java, * gnu/java/net/protocol/ftp/BlockOutputStream.java, * gnu/java/net/protocol/ftp/CompressedInputStream.java, * gnu/java/net/protocol/ftp/CompressedOutputStream.java, * gnu/java/net/protocol/ftp/DTP.java, * gnu/java/net/protocol/ftp/DTPInputStream.java, * gnu/java/net/protocol/ftp/DTPOutputStream.java, * gnu/java/net/protocol/ftp/FTPConnection.java, * gnu/java/net/protocol/ftp/FTPException.java, * gnu/java/net/protocol/ftp/FTPResponse.java, * gnu/java/net/protocol/ftp/FTPURLConnection.java, * gnu/java/net/protocol/ftp/Handler.java, * gnu/java/net/protocol/ftp/PassiveModeDTP.java, * gnu/java/net/protocol/ftp/StreamInputStream.java, * gnu/java/net/protocol/ftp/StreamOutputStream.java, * gnu/java/net/protocol/http/Authenticator.java, * gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java, * gnu/java/net/protocol/http/ChunkedInputStream.java, * gnu/java/net/protocol/http/Cookie.java, * gnu/java/net/protocol/http/CookieManager.java, * gnu/java/net/protocol/http/Credentials.java, * gnu/java/net/protocol/http/HTTPConnection.java, * gnu/java/net/protocol/http/HTTPDateFormat.java, * gnu/java/net/protocol/http/HTTPURLConnection.java, * gnu/java/net/protocol/http/Handler.java, * gnu/java/net/protocol/http/Headers.java, * gnu/java/net/protocol/http/Request.java, * gnu/java/net/protocol/http/RequestBodyWriter.java, * gnu/java/net/protocol/http/Response.java, * gnu/java/net/protocol/http/ResponseHeaderHandler.java, * gnu/java/net/protocol/http/SimpleCookieManager.java, * gnu/java/net/protocol/https/Handler.java, * gnu/java/net/protocol/jar/Connection.java, * gnu/java/net/protocol/jar/Handler.java, * gnu/java/nio/ChannelInputStream.java, * gnu/java/nio/ChannelOutputStream.java, * gnu/java/nio/ChannelReader.java, * gnu/java/nio/ChannelWriter.java, * gnu/java/nio/DatagramChannelImpl.java, * gnu/java/nio/DatagramChannelSelectionKey.java, * gnu/java/nio/EpollSelectionKeyImpl.java, * gnu/java/nio/EpollSelectorImpl.java, * gnu/java/nio/FileChannelImpl.java, * gnu/java/nio/FileLockImpl.java, * gnu/java/nio/InputStreamChannel.java, * gnu/java/nio/KqueueSelectionKeyImpl.java, * gnu/java/nio/KqueueSelectorImpl.java, * gnu/java/nio/NIODatagramSocket.java, * gnu/java/nio/NIOServerSocket.java, * gnu/java/nio/NIOSocket.java, * gnu/java/nio/NIOSocketImpl.java, * gnu/java/nio/OutputStreamChannel.java, * gnu/java/nio/PipeImpl.java, * gnu/java/nio/SelectionKeyImpl.java, * gnu/java/nio/SelectorImpl.java, * gnu/java/nio/SelectorProviderImpl.java, * gnu/java/nio/ServerSocketChannelImpl.java, * gnu/java/nio/ServerSocketChannelSelectionKey.java, * gnu/java/nio/SocketChannelImpl.java, * gnu/java/nio/SocketChannelSelectionKey.java, * gnu/java/nio/SocketChannelSelectionKeyImpl.java, * gnu/java/nio/VMChannelOwner.java, * gnu/java/nio/charset/ByteCharset.java, * gnu/java/nio/charset/ByteDecodeLoopHelper.java, * gnu/java/nio/charset/ByteEncodeLoopHelper.java, * gnu/java/nio/charset/Cp424.java, * gnu/java/nio/charset/Cp437.java, * gnu/java/nio/charset/Cp737.java, * gnu/java/nio/charset/Cp775.java, * gnu/java/nio/charset/Cp850.java, * gnu/java/nio/charset/Cp852.java, * gnu/java/nio/charset/Cp855.java, * gnu/java/nio/charset/Cp857.java, * gnu/java/nio/charset/Cp860.java, * gnu/java/nio/charset/Cp861.java, * gnu/java/nio/charset/Cp862.java, * gnu/java/nio/charset/Cp863.java, * gnu/java/nio/charset/Cp864.java, * gnu/java/nio/charset/Cp865.java, * gnu/java/nio/charset/Cp866.java, * gnu/java/nio/charset/Cp869.java, * gnu/java/nio/charset/Cp874.java, * gnu/java/nio/charset/EncodingHelper.java, * gnu/java/nio/charset/ISO_8859_1.java, * gnu/java/nio/charset/ISO_8859_13.java, * gnu/java/nio/charset/ISO_8859_15.java, * gnu/java/nio/charset/ISO_8859_2.java, * gnu/java/nio/charset/ISO_8859_3.java, * gnu/java/nio/charset/ISO_8859_4.java, * gnu/java/nio/charset/ISO_8859_5.java, * gnu/java/nio/charset/ISO_8859_6.java, * gnu/java/nio/charset/ISO_8859_7.java, * gnu/java/nio/charset/ISO_8859_8.java, * gnu/java/nio/charset/ISO_8859_9.java, * gnu/java/nio/charset/KOI_8.java, * gnu/java/nio/charset/MS874.java, * gnu/java/nio/charset/MacCentralEurope.java, * gnu/java/nio/charset/MacCroatian.java, * gnu/java/nio/charset/MacCyrillic.java, * gnu/java/nio/charset/MacDingbat.java, * gnu/java/nio/charset/MacGreek.java, * gnu/java/nio/charset/MacIceland.java, * gnu/java/nio/charset/MacRoman.java, * gnu/java/nio/charset/MacRomania.java, * gnu/java/nio/charset/MacSymbol.java, * gnu/java/nio/charset/MacThai.java, * gnu/java/nio/charset/MacTurkish.java, * gnu/java/nio/charset/Provider.java, * gnu/java/nio/charset/US_ASCII.java, * gnu/java/nio/charset/UTF_16.java, * gnu/java/nio/charset/UTF_16BE.java, * gnu/java/nio/charset/UTF_16Decoder.java, * gnu/java/nio/charset/UTF_16Encoder.java, * gnu/java/nio/charset/UTF_16LE.java, * gnu/java/nio/charset/UTF_8.java, * gnu/java/nio/charset/UnicodeLittle.java, * gnu/java/nio/charset/Windows1250.java, * gnu/java/nio/charset/Windows1251.java, * gnu/java/nio/charset/Windows1252.java, * gnu/java/nio/charset/Windows1253.java, * gnu/java/nio/charset/Windows1254.java, * gnu/java/nio/charset/Windows1255.java, * gnu/java/nio/charset/Windows1256.java, * gnu/java/nio/charset/Windows1257.java, * gnu/java/nio/charset/Windows1258.java, * gnu/java/nio/charset/iconv/IconvCharset.java, * gnu/java/nio/charset/iconv/IconvDecoder.java, * gnu/java/nio/charset/iconv/IconvEncoder.java, * gnu/java/nio/charset/iconv/IconvProvider.java, * gnu/java/rmi/RMIMarshalledObjectInputStream.java, * gnu/java/rmi/RMIMarshalledObjectOutputStream.java, * gnu/java/rmi/activation/ActivationSystemTransient.java, * gnu/java/rmi/activation/BidiTable.java, * gnu/java/rmi/activation/DefaultActivationGroup.java, * gnu/java/rmi/activation/DefaultActivationSystem.java, * gnu/java/rmi/dgc/DGCImpl.java, * gnu/java/rmi/dgc/DGCImpl_Skel.java, * gnu/java/rmi/dgc/DGCImpl_Stub.java, * gnu/java/rmi/dgc/LeaseRenewingTask.java, * gnu/java/rmi/registry/RegistryImpl.java, * gnu/java/rmi/registry/RegistryImpl_Skel.java, * gnu/java/rmi/registry/RegistryImpl_Stub.java, * gnu/java/rmi/server/ActivatableRef.java, * gnu/java/rmi/server/ActivatableServerRef.java, * gnu/java/rmi/server/CombinedClassLoader.java, * gnu/java/rmi/server/ConnectionRunnerPool.java, * gnu/java/rmi/server/ProtocolConstants.java, * gnu/java/rmi/server/RMIClassLoaderImpl.java, * gnu/java/rmi/server/RMIDefaultSocketFactory.java, * gnu/java/rmi/server/RMIHashes.java, * gnu/java/rmi/server/RMIIncomingThread.java, * gnu/java/rmi/server/RMIObjectInputStream.java, * gnu/java/rmi/server/RMIObjectOutputStream.java, * gnu/java/rmi/server/UnicastConnection.java, * gnu/java/rmi/server/UnicastConnectionManager.java, * gnu/java/rmi/server/UnicastRef.java, * gnu/java/rmi/server/UnicastRemoteCall.java, * gnu/java/rmi/server/UnicastRemoteStub.java, * gnu/java/rmi/server/UnicastServer.java, * gnu/java/rmi/server/UnicastServerRef.java, * gnu/java/security/Engine.java, * gnu/java/security/OID.java, * gnu/java/security/PolicyFile.java, * gnu/java/security/Properties.java, * gnu/java/security/Registry.java, * gnu/java/security/Requires.java, * gnu/java/security/action/GetPropertyAction.java, * gnu/java/security/action/SetAccessibleAction.java, * gnu/java/security/der/DERValue.java, * gnu/java/security/hash/BaseHash.java, * gnu/java/security/hash/HashFactory.java, * gnu/java/security/hash/Haval.java, * gnu/java/security/hash/IMessageDigest.java, * gnu/java/security/hash/MD2.java, * gnu/java/security/hash/MD4.java, * gnu/java/security/hash/MD5.java, * gnu/java/security/hash/RipeMD128.java, * gnu/java/security/hash/RipeMD160.java, * gnu/java/security/hash/Sha160.java, * gnu/java/security/hash/Sha256.java, * gnu/java/security/hash/Sha384.java, * gnu/java/security/hash/Sha512.java, * gnu/java/security/hash/Tiger.java, * gnu/java/security/hash/Whirlpool.java, * gnu/java/security/jce/hash/HavalSpi.java, * gnu/java/security/jce/hash/MD2Spi.java, * gnu/java/security/jce/hash/MD4Spi.java, * gnu/java/security/jce/hash/MD5Spi.java, * gnu/java/security/jce/hash/MessageDigestAdapter.java, * gnu/java/security/jce/hash/RipeMD128Spi.java, * gnu/java/security/jce/hash/RipeMD160Spi.java, * gnu/java/security/jce/hash/Sha160Spi.java, * gnu/java/security/jce/hash/Sha256Spi.java, * gnu/java/security/jce/hash/Sha384Spi.java, * gnu/java/security/jce/hash/Sha512Spi.java, * gnu/java/security/jce/hash/TigerSpi.java, * gnu/java/security/jce/hash/WhirlpoolSpi.java, * gnu/java/security/jce/prng/HavalRandomSpi.java, * gnu/java/security/jce/prng/MD2RandomSpi.java, * gnu/java/security/jce/prng/MD4RandomSpi.java, * gnu/java/security/jce/prng/MD5RandomSpi.java, * gnu/java/security/jce/prng/RipeMD128RandomSpi.java, * gnu/java/security/jce/prng/RipeMD160RandomSpi.java, * gnu/java/security/jce/prng/SecureRandomAdapter.java, * gnu/java/security/jce/prng/Sha160RandomSpi.java, * gnu/java/security/jce/prng/Sha256RandomSpi.java, * gnu/java/security/jce/prng/Sha384RandomSpi.java, * gnu/java/security/jce/prng/Sha512RandomSpi.java, * gnu/java/security/jce/prng/TigerRandomSpi.java, * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java, * gnu/java/security/jce/sig/DSSKeyFactory.java, * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java, * gnu/java/security/jce/sig/DSSParameters.java, * gnu/java/security/jce/sig/DSSRawSignatureSpi.java, * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java, * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java, * gnu/java/security/jce/sig/SignatureAdapter.java, * gnu/java/security/key/IKeyPairCodec.java, * gnu/java/security/key/IKeyPairGenerator.java, * gnu/java/security/key/KeyPairCodecFactory.java, * gnu/java/security/key/KeyPairGeneratorFactory.java, * gnu/java/security/key/dss/DSSKey.java, * gnu/java/security/key/dss/DSSKeyPairGenerator.java, * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java, * gnu/java/security/key/dss/DSSKeyPairRawCodec.java, * gnu/java/security/key/dss/DSSKeyPairX509Codec.java, * gnu/java/security/key/dss/DSSPrivateKey.java, * gnu/java/security/key/dss/DSSPublicKey.java, * gnu/java/security/key/dss/FIPS186.java, * gnu/java/security/key/rsa/GnuRSAKey.java, * gnu/java/security/key/rsa/GnuRSAPrivateKey.java, * gnu/java/security/key/rsa/GnuRSAPublicKey.java, * gnu/java/security/key/rsa/RSAKeyPairGenerator.java, * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java, * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java, * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java, * gnu/java/security/pkcs/PKCS7Data.java, * gnu/java/security/pkcs/PKCS7SignedData.java, * gnu/java/security/pkcs/SignerInfo.java, * gnu/java/security/prng/BasePRNG.java, * gnu/java/security/prng/EntropySource.java, * gnu/java/security/prng/IRandom.java, * gnu/java/security/prng/LimitReachedException.java, * gnu/java/security/prng/MDGenerator.java, * gnu/java/security/prng/PRNGFactory.java, * gnu/java/security/prng/RandomEventListener.java, * gnu/java/security/provider/DefaultPolicy.java, * gnu/java/security/provider/PKIXCertPathValidatorImpl.java, * gnu/java/security/sig/BaseSignature.java, * gnu/java/security/sig/ISignature.java, * gnu/java/security/sig/ISignatureCodec.java, * gnu/java/security/sig/SignatureCodecFactory.java, * gnu/java/security/sig/SignatureFactory.java, * gnu/java/security/sig/dss/DSSSignature.java, * gnu/java/security/sig/dss/DSSSignatureRawCodec.java, * gnu/java/security/sig/dss/DSSSignatureX509Codec.java, * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java, * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java, * gnu/java/security/sig/rsa/EMSA_PSS.java, * gnu/java/security/sig/rsa/RSA.java, * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java, * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java, * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java, * gnu/java/security/sig/rsa/RSAPSSSignature.java, * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java, * gnu/java/security/sig/rsa/RSASignatureFactory.java, * gnu/java/security/util/ByteArray.java, * gnu/java/security/util/ByteBufferOutputStream.java, * gnu/java/security/util/ExpirableObject.java, * gnu/java/security/util/FormatUtil.java, * gnu/java/security/util/IntegerUtil.java, * gnu/java/security/util/PRNG.java, * gnu/java/security/util/Prime.java, * gnu/java/security/util/Sequence.java, * gnu/java/security/util/SimpleList.java, * gnu/java/security/util/Util.java, * gnu/java/security/x509/X509CRLSelectorImpl.java, * gnu/java/security/x509/X509CertSelectorImpl.java, * gnu/java/security/x509/ext/CertificatePolicies.java, * gnu/java/security/x509/ext/GeneralName.java, * gnu/java/security/x509/ext/GeneralSubtree.java, * gnu/java/security/x509/ext/NameConstraints.java, * gnu/java/text/AttributedFormatBuffer.java, * gnu/java/text/BaseBreakIterator.java, * gnu/java/text/CharacterBreakIterator.java, * gnu/java/text/FormatBuffer.java, * gnu/java/text/FormatCharacterIterator.java, * gnu/java/text/LineBreakIterator.java, * gnu/java/text/SentenceBreakIterator.java, * gnu/java/text/StringFormatBuffer.java, * gnu/java/text/WordBreakIterator.java, * gnu/java/util/Base64.java, * gnu/java/util/DoubleEnumeration.java, * gnu/java/util/EmptyEnumeration.java, * gnu/java/util/WeakIdentityHashMap.java, * gnu/java/util/ZoneInfo.java, * gnu/java/util/jar/JarUtils.java, * gnu/java/util/prefs/FileBasedFactory.java, * gnu/java/util/prefs/FileBasedPreferences.java, * gnu/java/util/prefs/GConfBasedFactory.java, * gnu/java/util/prefs/GConfBasedPreferences.java, * gnu/java/util/prefs/MemoryBasedFactory.java, * gnu/java/util/prefs/MemoryBasedPreferences.java, * gnu/java/util/prefs/NodeReader.java, * gnu/java/util/prefs/NodeWriter.java, * gnu/java/util/prefs/gconf/GConfNativePeer.java, * gnu/java/util/regex/BacktrackStack.java, * gnu/java/util/regex/CharIndexed.java, * gnu/java/util/regex/CharIndexedInputStream.java, * gnu/java/util/regex/RE.java, * gnu/java/util/regex/REFilterInputStream.java, * gnu/java/util/regex/REMatch.java, * gnu/java/util/regex/REMatchEnumeration.java, * gnu/java/util/regex/RESyntax.java, * gnu/java/util/regex/REToken.java, * gnu/java/util/regex/RETokenAny.java, * gnu/java/util/regex/RETokenBackRef.java, * gnu/java/util/regex/RETokenChar.java, * gnu/java/util/regex/RETokenEnd.java, * gnu/java/util/regex/RETokenEndOfPreviousMatch.java, * gnu/java/util/regex/RETokenIndependent.java, * gnu/java/util/regex/RETokenLookAhead.java, * gnu/java/util/regex/RETokenLookBehind.java, * gnu/java/util/regex/RETokenNamedProperty.java, * gnu/java/util/regex/RETokenOneOf.java, * gnu/java/util/regex/RETokenPOSIX.java, * gnu/java/util/regex/RETokenRange.java, * gnu/java/util/regex/RETokenRepeated.java, * gnu/java/util/regex/RETokenStart.java, * gnu/java/util/regex/RETokenWordBoundary.java, * gnu/java/util/regex/UncheckedRE.java, * gnu/javax/activation/viewers/ImageViewer.java, * gnu/javax/activation/viewers/TextEditor.java, * gnu/javax/activation/viewers/TextViewer.java, * gnu/javax/crypto/assembly/Assembly.java, * gnu/javax/crypto/assembly/Cascade.java, * gnu/javax/crypto/assembly/CascadeStage.java, * gnu/javax/crypto/assembly/CascadeTransformer.java, * gnu/javax/crypto/assembly/DeflateTransformer.java, * gnu/javax/crypto/assembly/Direction.java, * gnu/javax/crypto/assembly/LoopbackTransformer.java, * gnu/javax/crypto/assembly/ModeStage.java, * gnu/javax/crypto/assembly/Operation.java, * gnu/javax/crypto/assembly/PaddingTransformer.java, * gnu/javax/crypto/assembly/Stage.java, * gnu/javax/crypto/assembly/Transformer.java, * gnu/javax/crypto/assembly/TransformerException.java, * gnu/javax/crypto/cipher/Anubis.java, * gnu/javax/crypto/cipher/BaseCipher.java, * gnu/javax/crypto/cipher/Blowfish.java, * gnu/javax/crypto/cipher/Cast5.java, * gnu/javax/crypto/cipher/CipherFactory.java, * gnu/javax/crypto/cipher/DES.java, * gnu/javax/crypto/cipher/IBlockCipher.java, * gnu/javax/crypto/cipher/IBlockCipherSpi.java, * gnu/javax/crypto/cipher/Khazad.java, * gnu/javax/crypto/cipher/NullCipher.java, * gnu/javax/crypto/cipher/Rijndael.java, * gnu/javax/crypto/cipher/Serpent.java, * gnu/javax/crypto/cipher/Square.java, * gnu/javax/crypto/cipher/TripleDES.java, * gnu/javax/crypto/cipher/Twofish.java, * gnu/javax/crypto/cipher/WeakKeyException.java, * gnu/javax/crypto/jce/DiffieHellmanImpl.java, * gnu/javax/crypto/jce/GnuCrypto.java, * gnu/javax/crypto/jce/GnuSasl.java, * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java, * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java, * gnu/javax/crypto/jce/cipher/AESSpi.java, * gnu/javax/crypto/jce/cipher/ARCFourSpi.java, * gnu/javax/crypto/jce/cipher/AnubisSpi.java, * gnu/javax/crypto/jce/cipher/BlowfishSpi.java, * gnu/javax/crypto/jce/cipher/Cast5Spi.java, * gnu/javax/crypto/jce/cipher/CipherAdapter.java, * gnu/javax/crypto/jce/cipher/DESSpi.java, * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java, * gnu/javax/crypto/jce/cipher/KhazadSpi.java, * gnu/javax/crypto/jce/cipher/NullCipherSpi.java, * gnu/javax/crypto/jce/cipher/PBES2.java, * gnu/javax/crypto/jce/cipher/RijndaelSpi.java, * gnu/javax/crypto/jce/cipher/SerpentSpi.java, * gnu/javax/crypto/jce/cipher/SquareSpi.java, * gnu/javax/crypto/jce/cipher/TripleDESSpi.java, * gnu/javax/crypto/jce/cipher/TwofishSpi.java, * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java, * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java, * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java, * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java, * gnu/javax/crypto/jce/keyring/GnuKeyring.java, * gnu/javax/crypto/jce/mac/HMacHavalSpi.java, * gnu/javax/crypto/jce/mac/HMacMD2Spi.java, * gnu/javax/crypto/jce/mac/HMacMD4Spi.java, * gnu/javax/crypto/jce/mac/HMacMD5Spi.java, * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java, * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java, * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java, * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java, * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java, * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java, * gnu/javax/crypto/jce/mac/HMacTigerSpi.java, * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java, * gnu/javax/crypto/jce/mac/MacAdapter.java, * gnu/javax/crypto/jce/mac/TMMH16Spi.java, * gnu/javax/crypto/jce/mac/UHash32Spi.java, * gnu/javax/crypto/jce/mac/UMac32Spi.java, * gnu/javax/crypto/jce/params/BlockCipherParameters.java, * gnu/javax/crypto/jce/params/DEREncodingException.java, * gnu/javax/crypto/jce/params/DERReader.java, * gnu/javax/crypto/jce/params/DERWriter.java, * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java, * gnu/javax/crypto/jce/prng/CSPRNGSpi.java, * gnu/javax/crypto/jce/prng/FortunaImpl.java, * gnu/javax/crypto/jce/prng/ICMRandomSpi.java, * gnu/javax/crypto/jce/prng/UMacRandomSpi.java, * gnu/javax/crypto/jce/sig/DHParameters.java, * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java, * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java, * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java, * gnu/javax/crypto/key/BaseKeyAgreementParty.java, * gnu/javax/crypto/key/GnuPBEKey.java, * gnu/javax/crypto/key/GnuSecretKey.java, * gnu/javax/crypto/key/IKeyAgreementParty.java, * gnu/javax/crypto/key/IncomingMessage.java, * gnu/javax/crypto/key/KeyAgreementException.java, * gnu/javax/crypto/key/KeyAgreementFactory.java, * gnu/javax/crypto/key/OutgoingMessage.java, * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java, * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java, * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java, * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java, * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java, * gnu/javax/crypto/key/dh/DiffieHellmanSender.java, * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java, * gnu/javax/crypto/key/dh/ElGamalReceiver.java, * gnu/javax/crypto/key/dh/ElGamalSender.java, * gnu/javax/crypto/key/dh/GnuDHKey.java, * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java, * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java, * gnu/javax/crypto/key/dh/GnuDHPublicKey.java, * gnu/javax/crypto/key/dh/RFC2631.java, * gnu/javax/crypto/key/srp6/SRP6Host.java, * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java, * gnu/javax/crypto/key/srp6/SRP6SaslClient.java, * gnu/javax/crypto/key/srp6/SRP6SaslServer.java, * gnu/javax/crypto/key/srp6/SRP6TLSClient.java, * gnu/javax/crypto/key/srp6/SRP6TLSServer.java, * gnu/javax/crypto/key/srp6/SRP6User.java, * gnu/javax/crypto/key/srp6/SRPAlgorithm.java, * gnu/javax/crypto/key/srp6/SRPKey.java, * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java, * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java, * gnu/javax/crypto/key/srp6/SRPPrivateKey.java, * gnu/javax/crypto/key/srp6/SRPPublicKey.java, * gnu/javax/crypto/keyring/AuthenticatedEntry.java, * gnu/javax/crypto/keyring/BaseKeyring.java, * gnu/javax/crypto/keyring/BinaryDataEntry.java, * gnu/javax/crypto/keyring/CertPathEntry.java, * gnu/javax/crypto/keyring/CertificateEntry.java, * gnu/javax/crypto/keyring/CompressedEntry.java, * gnu/javax/crypto/keyring/EncryptedEntry.java, * gnu/javax/crypto/keyring/Entry.java, * gnu/javax/crypto/keyring/EnvelopeEntry.java, * gnu/javax/crypto/keyring/GnuPrivateKeyring.java, * gnu/javax/crypto/keyring/GnuPublicKeyring.java, * gnu/javax/crypto/keyring/IKeyring.java, * gnu/javax/crypto/keyring/IPrivateKeyring.java, * gnu/javax/crypto/keyring/IPublicKeyring.java, * gnu/javax/crypto/keyring/MalformedKeyringException.java, * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java, * gnu/javax/crypto/keyring/MeteredInputStream.java, * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java, * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java, * gnu/javax/crypto/keyring/PasswordProtectedEntry.java, * gnu/javax/crypto/keyring/PrimitiveEntry.java, * gnu/javax/crypto/keyring/PrivateKeyEntry.java, * gnu/javax/crypto/keyring/Properties.java, * gnu/javax/crypto/keyring/PublicKeyEntry.java, * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java, * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java, * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java, * gnu/javax/crypto/kwa/TripleDESKeyWrap.java, * gnu/javax/crypto/mac/BaseMac.java, * gnu/javax/crypto/mac/HMac.java, * gnu/javax/crypto/mac/HMacFactory.java, * gnu/javax/crypto/mac/IMac.java, * gnu/javax/crypto/mac/MacFactory.java, * gnu/javax/crypto/mac/MacInputStream.java, * gnu/javax/crypto/mac/MacOutputStream.java, * gnu/javax/crypto/mac/OMAC.java, * gnu/javax/crypto/mac/TMMH16.java, * gnu/javax/crypto/mac/UHash32.java, * gnu/javax/crypto/mac/UMac32.java, * gnu/javax/crypto/mode/BaseMode.java, * gnu/javax/crypto/mode/CBC.java, * gnu/javax/crypto/mode/CFB.java, * gnu/javax/crypto/mode/CTR.java, * gnu/javax/crypto/mode/EAX.java, * gnu/javax/crypto/mode/ECB.java, * gnu/javax/crypto/mode/IAuthenticatedMode.java, * gnu/javax/crypto/mode/ICM.java, * gnu/javax/crypto/mode/IMode.java, * gnu/javax/crypto/mode/ModeFactory.java, * gnu/javax/crypto/mode/OFB.java, * gnu/javax/crypto/pad/BasePad.java, * gnu/javax/crypto/pad/IPad.java, * gnu/javax/crypto/pad/PKCS1_V1_5.java, * gnu/javax/crypto/pad/PKCS7.java, * gnu/javax/crypto/pad/PadFactory.java, * gnu/javax/crypto/pad/TBC.java, * gnu/javax/crypto/pad/WrongPaddingException.java, * gnu/javax/crypto/prng/ARCFour.java, * gnu/javax/crypto/prng/CSPRNG.java, * gnu/javax/crypto/prng/ICMGenerator.java, * gnu/javax/crypto/prng/IPBE.java, * gnu/javax/crypto/prng/PBKDF2.java, * gnu/javax/crypto/prng/PRNGFactory.java, * gnu/javax/crypto/prng/UMacGenerator.java, * gnu/javax/crypto/sasl/AuthInfo.java, * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java, * gnu/javax/crypto/sasl/ClientFactory.java, * gnu/javax/crypto/sasl/ClientMechanism.java, * gnu/javax/crypto/sasl/ConfidentialityException.java, * gnu/javax/crypto/sasl/IAuthInfoProvider.java, * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java, * gnu/javax/crypto/sasl/IllegalMechanismStateException.java, * gnu/javax/crypto/sasl/InputBuffer.java, * gnu/javax/crypto/sasl/IntegrityException.java, * gnu/javax/crypto/sasl/NoSuchMechanismException.java, * gnu/javax/crypto/sasl/NoSuchUserException.java, * gnu/javax/crypto/sasl/OutputBuffer.java, * gnu/javax/crypto/sasl/SaslEncodingException.java, * gnu/javax/crypto/sasl/SaslInputStream.java, * gnu/javax/crypto/sasl/SaslOutputStream.java, * gnu/javax/crypto/sasl/SaslUtil.java, * gnu/javax/crypto/sasl/ServerFactory.java, * gnu/javax/crypto/sasl/ServerMechanism.java, * gnu/javax/crypto/sasl/UserAlreadyExistsException.java, * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java, * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java, * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java, * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java, * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java, * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java, * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java, * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java, * gnu/javax/crypto/sasl/crammd5/PasswordFile.java, * gnu/javax/crypto/sasl/plain/PasswordFile.java, * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java, * gnu/javax/crypto/sasl/plain/PlainClient.java, * gnu/javax/crypto/sasl/plain/PlainRegistry.java, * gnu/javax/crypto/sasl/plain/PlainServer.java, * gnu/javax/crypto/sasl/srp/CALG.java, * gnu/javax/crypto/sasl/srp/ClientStore.java, * gnu/javax/crypto/sasl/srp/IALG.java, * gnu/javax/crypto/sasl/srp/KDF.java, * gnu/javax/crypto/sasl/srp/PasswordFile.java, * gnu/javax/crypto/sasl/srp/SRP.java, * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java, * gnu/javax/crypto/sasl/srp/SRPClient.java, * gnu/javax/crypto/sasl/srp/SRPRegistry.java, * gnu/javax/crypto/sasl/srp/SRPServer.java, * gnu/javax/crypto/sasl/srp/SecurityContext.java, * gnu/javax/crypto/sasl/srp/ServerStore.java, * gnu/javax/crypto/sasl/srp/StoreEntry.java, * gnu/javax/imageio/IIOInputStream.java, * gnu/javax/imageio/bmp/BMPDecoder.java, * gnu/javax/imageio/bmp/BMPEncoder.java, * gnu/javax/imageio/bmp/BMPException.java, * gnu/javax/imageio/bmp/BMPFileHeader.java, * gnu/javax/imageio/bmp/BMPImageReader.java, * gnu/javax/imageio/bmp/BMPImageReaderSpi.java, * gnu/javax/imageio/bmp/BMPImageWriter.java, * gnu/javax/imageio/bmp/BMPImageWriterSpi.java, * gnu/javax/imageio/bmp/BMPInfoHeader.java, * gnu/javax/imageio/bmp/DecodeBF16.java, * gnu/javax/imageio/bmp/DecodeBF32.java, * gnu/javax/imageio/bmp/DecodeRGB1.java, * gnu/javax/imageio/bmp/DecodeRGB24.java, * gnu/javax/imageio/bmp/DecodeRGB4.java, * gnu/javax/imageio/bmp/DecodeRGB8.java, * gnu/javax/imageio/bmp/DecodeRLE4.java, * gnu/javax/imageio/bmp/DecodeRLE8.java, * gnu/javax/imageio/bmp/EncodeRGB1.java, * gnu/javax/imageio/bmp/EncodeRGB16.java, * gnu/javax/imageio/bmp/EncodeRGB24.java, * gnu/javax/imageio/bmp/EncodeRGB32.java, * gnu/javax/imageio/bmp/EncodeRGB4.java, * gnu/javax/imageio/bmp/EncodeRGB8.java, * gnu/javax/imageio/bmp/EncodeRLE4.java, * gnu/javax/imageio/bmp/EncodeRLE8.java, * gnu/javax/imageio/gif/GIFFile.java, * gnu/javax/imageio/gif/GIFImageReader.java, * gnu/javax/imageio/gif/GIFImageReaderSpi.java, * gnu/javax/imageio/jpeg/DCT.java, * gnu/javax/imageio/jpeg/JPEGComponent.java, * gnu/javax/imageio/jpeg/JPEGDecoder.java, * gnu/javax/imageio/jpeg/JPEGImageInputStream.java, * gnu/javax/imageio/jpeg/JPEGImageReader.java, * gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java, * gnu/javax/imageio/jpeg/JPEGMarker.java, * gnu/javax/imageio/jpeg/ZigZag.java, * gnu/javax/imageio/png/PNGChunk.java, * gnu/javax/imageio/png/PNGData.java, * gnu/javax/imageio/png/PNGDecoder.java, * gnu/javax/imageio/png/PNGEncoder.java, * gnu/javax/imageio/png/PNGException.java, * gnu/javax/imageio/png/PNGFile.java, * gnu/javax/imageio/png/PNGFilter.java, * gnu/javax/imageio/png/PNGGamma.java, * gnu/javax/imageio/png/PNGHeader.java, * gnu/javax/imageio/png/PNGICCProfile.java, * gnu/javax/imageio/png/PNGImageReader.java, * gnu/javax/imageio/png/PNGPalette.java, * gnu/javax/imageio/png/PNGPhys.java, * gnu/javax/imageio/png/PNGTime.java, * gnu/javax/management/ListenerData.java, * gnu/javax/management/Server.java, * gnu/javax/management/Translator.java, * gnu/javax/naming/giop/ContextContinuation.java, * gnu/javax/naming/giop/CorbalocParser.java, * gnu/javax/naming/giop/GiopNamingEnumeration.java, * gnu/javax/naming/giop/GiopNamingServiceFactory.java, * gnu/javax/naming/giop/GiopNamingServiceURLContext.java, * gnu/javax/naming/giop/ListBindingsEnumeration.java, * gnu/javax/naming/giop/ListEnumeration.java, * gnu/javax/naming/ictxImpl/trans/GnuName.java, * gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java, * gnu/javax/naming/jndi/url/rmi/ContextContinuation.java, * gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java, * gnu/javax/naming/jndi/url/rmi/ListEnumeration.java, * gnu/javax/naming/jndi/url/rmi/RmiContinuation.java, * gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java, * gnu/javax/naming/jndi/url/rmi/rmiURLContext.java, * gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java, * gnu/javax/net/ssl/AbstractSessionContext.java, * gnu/javax/net/ssl/PreSharedKeyManager.java, * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java, * gnu/javax/net/ssl/SSLCipherSuite.java, * gnu/javax/net/ssl/SSLRecordHandler.java, * gnu/javax/net/ssl/Session.java, * gnu/javax/net/ssl/SessionStoreException.java, * gnu/javax/net/ssl/provider/AbstractHandshake.java, * gnu/javax/net/ssl/provider/Alert.java, * gnu/javax/net/ssl/provider/AlertException.java, * gnu/javax/net/ssl/provider/Builder.java, * gnu/javax/net/ssl/provider/Certificate.java, * gnu/javax/net/ssl/provider/CertificateBuilder.java, * gnu/javax/net/ssl/provider/CertificateRequest.java, * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java, * gnu/javax/net/ssl/provider/CertificateStatusRequest.java, * gnu/javax/net/ssl/provider/CertificateStatusType.java, * gnu/javax/net/ssl/provider/CertificateURL.java, * gnu/javax/net/ssl/provider/CertificateVerify.java, * gnu/javax/net/ssl/provider/CipherSuite.java, * gnu/javax/net/ssl/provider/CipherSuiteList.java, * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java, * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java, * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java, * gnu/javax/net/ssl/provider/ClientHandshake.java, * gnu/javax/net/ssl/provider/ClientHello.java, * gnu/javax/net/ssl/provider/ClientHelloBuilder.java, * gnu/javax/net/ssl/provider/ClientHelloV2.java, * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java, * gnu/javax/net/ssl/provider/ClientPSKParameters.java, * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java, * gnu/javax/net/ssl/provider/CompressionMethod.java, * gnu/javax/net/ssl/provider/CompressionMethodList.java, * gnu/javax/net/ssl/provider/Constructed.java, * gnu/javax/net/ssl/provider/Debug.java, * gnu/javax/net/ssl/provider/DelegatedTask.java, * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java, * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java, * gnu/javax/net/ssl/provider/ExchangeKeys.java, * gnu/javax/net/ssl/provider/Extension.java, * gnu/javax/net/ssl/provider/ExtensionList.java, * gnu/javax/net/ssl/provider/Handshake.java, * gnu/javax/net/ssl/provider/InputSecurityParameters.java, * gnu/javax/net/ssl/provider/Jessie.java, * gnu/javax/net/ssl/provider/MaxFragmentLength.java, * gnu/javax/net/ssl/provider/OutputSecurityParameters.java, * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java, * gnu/javax/net/ssl/provider/Random.java, * gnu/javax/net/ssl/provider/SSLContextImpl.java, * gnu/javax/net/ssl/provider/SSLEngineImpl.java, * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java, * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java, * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java, * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java, * gnu/javax/net/ssl/provider/SSLSocketImpl.java, * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java, * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java, * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java, * gnu/javax/net/ssl/provider/ServerDHParams.java, * gnu/javax/net/ssl/provider/ServerHandshake.java, * gnu/javax/net/ssl/provider/ServerHello.java, * gnu/javax/net/ssl/provider/ServerHelloBuilder.java, * gnu/javax/net/ssl/provider/ServerHelloDone.java, * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java, * gnu/javax/net/ssl/provider/ServerNameList.java, * gnu/javax/net/ssl/provider/ServerPSKParameters.java, * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java, * gnu/javax/net/ssl/provider/SessionImpl.java, * gnu/javax/net/ssl/provider/Signature.java, * gnu/javax/net/ssl/provider/SignatureAlgorithm.java, * gnu/javax/net/ssl/provider/SimpleSessionContext.java, * gnu/javax/net/ssl/provider/TruncatedHMAC.java, * gnu/javax/net/ssl/provider/TrustedAuthorities.java, * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java, * gnu/javax/net/ssl/provider/Util.java, * gnu/javax/net/ssl/provider/X500PrincipalList.java, * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java, * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java, * gnu/javax/print/ipp/IppRequest.java, * gnu/javax/rmi/CORBA/CorbaInput.java, * gnu/javax/rmi/CORBA/CorbaOutput.java, * gnu/javax/rmi/CORBA/DefaultWriteObjectTester.java, * gnu/javax/rmi/CORBA/DelegateFactory.java, * gnu/javax/rmi/CORBA/GetDelegateInstanceException.java, * gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, * gnu/javax/rmi/CORBA/RmiUtilities.java, * gnu/javax/rmi/CORBA/StubDelegateImpl.java, * gnu/javax/rmi/CORBA/TieTargetRecord.java, * gnu/javax/rmi/CORBA/UtilDelegateImpl.java, * gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java, * gnu/javax/security/auth/callback/AWTCallbackHandler.java, * gnu/javax/security/auth/callback/AbstractCallbackHandler.java, * gnu/javax/security/auth/callback/CertificateCallback.java, * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java, * gnu/javax/security/auth/callback/DefaultCallbackHandler.java, * gnu/javax/security/auth/callback/SwingCallbackHandler.java, * gnu/javax/security/auth/login/ConfigFileParser.java, * gnu/javax/security/auth/login/ConfigFileTokenizer.java, * gnu/javax/security/auth/login/GnuConfiguration.java, * gnu/javax/sound/AudioSecurityManager.java, * gnu/javax/sound/midi/alsa/AlsaInputPortDevice.java, * gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.java, * gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java, * gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.java, * gnu/javax/sound/midi/alsa/AlsaPortDevice.java, * gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.java, * gnu/javax/sound/midi/dssi/DSSISynthesizer.java, * gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java, * gnu/javax/sound/midi/file/MidiDataInputStream.java, * gnu/javax/sound/midi/file/MidiDataOutputStream.java, * gnu/javax/sound/midi/file/MidiFileReader.java, * gnu/javax/sound/midi/file/MidiFileWriter.java, * gnu/javax/sound/sampled/AU/AUReader.java, * gnu/javax/sound/sampled/WAV/WAVReader.java, * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java, * gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.java, * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java, * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java, * gnu/javax/sound/sampled/gstreamer/io/GstInputStream.java, * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java, * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java, * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java, * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java, * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java, * gnu/javax/swing/text/html/CharacterAttributeTranslator.java, * gnu/javax/swing/text/html/CombinedAttributes.java, * gnu/javax/swing/text/html/ImageViewIconFactory.java, * gnu/javax/swing/text/html/css/BorderStyle.java, * gnu/javax/swing/text/html/css/CSSParser.java, * gnu/javax/swing/text/html/css/CSSScanner.java, * gnu/javax/swing/text/html/css/Selector.java, * gnu/javax/swing/text/html/parser/GnuParserDelegator.java, * gnu/javax/swing/text/html/parser/HTML_401F.java, * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java, * gnu/javax/swing/text/html/parser/htmlAttributeSet.java, * gnu/javax/swing/text/html/parser/htmlValidator.java, * gnu/javax/swing/text/html/parser/models/list.java, * gnu/javax/swing/text/html/parser/support/Parser.java, * gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java, * gnu/javax/swing/text/html/parser/support/textPreProcessor.java, * gnu/javax/swing/tree/GnuPath.java, * gnu/test/Fail.java, * gnu/test/Pass.java, * gnu/test/Test.java, * gnu/test/Unsupported.java, * gnu/xml/aelfred2/JAXPFactory.java, * gnu/xml/aelfred2/SAXDriver.java, * gnu/xml/aelfred2/XmlParser.java, * gnu/xml/aelfred2/XmlReader.java, * gnu/xml/dom/Consumer.java, * gnu/xml/dom/DTDAttributeTypeInfo.java, * gnu/xml/dom/DTDElementTypeInfo.java, * gnu/xml/dom/DomAttr.java, * gnu/xml/dom/DomCDATASection.java, * gnu/xml/dom/DomCharacterData.java, * gnu/xml/dom/DomComment.java, * gnu/xml/dom/DomDOMException.java, * gnu/xml/dom/DomDoctype.java, * gnu/xml/dom/DomDocument.java, * gnu/xml/dom/DomDocumentBuilder.java, * gnu/xml/dom/DomDocumentBuilderFactory.java, * gnu/xml/dom/DomDocumentConfiguration.java, * gnu/xml/dom/DomDocumentFragment.java, * gnu/xml/dom/DomElement.java, * gnu/xml/dom/DomEntity.java, * gnu/xml/dom/DomEntityReference.java, * gnu/xml/dom/DomEvent.java, * gnu/xml/dom/DomExtern.java, * gnu/xml/dom/DomImpl.java, * gnu/xml/dom/DomIterator.java, * gnu/xml/dom/DomNSResolverContext.java, * gnu/xml/dom/DomNamedNodeMap.java, * gnu/xml/dom/DomNode.java, * gnu/xml/dom/DomNodeIterator.java, * gnu/xml/dom/DomNotation.java, * gnu/xml/dom/DomNsNode.java, * gnu/xml/dom/DomProcessingInstruction.java, * gnu/xml/dom/DomText.java, * gnu/xml/dom/DomXPathExpression.java, * gnu/xml/dom/DomXPathNSResolver.java, * gnu/xml/dom/DomXPathResult.java, * gnu/xml/dom/ImplementationList.java, * gnu/xml/dom/ImplementationSource.java, * gnu/xml/dom/JAXPFactory.java, * gnu/xml/dom/html2/DomHTMLAnchorElement.java, * gnu/xml/dom/html2/DomHTMLAppletElement.java, * gnu/xml/dom/html2/DomHTMLAreaElement.java, * gnu/xml/dom/html2/DomHTMLBRElement.java, * gnu/xml/dom/html2/DomHTMLBaseElement.java, * gnu/xml/dom/html2/DomHTMLBaseFontElement.java, * gnu/xml/dom/html2/DomHTMLBodyElement.java, * gnu/xml/dom/html2/DomHTMLButtonElement.java, * gnu/xml/dom/html2/DomHTMLCollection.java, * gnu/xml/dom/html2/DomHTMLDListElement.java, * gnu/xml/dom/html2/DomHTMLDirectoryElement.java, * gnu/xml/dom/html2/DomHTMLDivElement.java, * gnu/xml/dom/html2/DomHTMLDocument.java, * gnu/xml/dom/html2/DomHTMLElement.java, * gnu/xml/dom/html2/DomHTMLEmbedElement.java, * gnu/xml/dom/html2/DomHTMLFieldSetElement.java, * gnu/xml/dom/html2/DomHTMLFontElement.java, * gnu/xml/dom/html2/DomHTMLFormElement.java, * gnu/xml/dom/html2/DomHTMLFrameElement.java, * gnu/xml/dom/html2/DomHTMLFrameSetElement.java, * gnu/xml/dom/html2/DomHTMLHRElement.java, * gnu/xml/dom/html2/DomHTMLHeadElement.java, * gnu/xml/dom/html2/DomHTMLHeadingElement.java, * gnu/xml/dom/html2/DomHTMLHtmlElement.java, * gnu/xml/dom/html2/DomHTMLIFrameElement.java, * gnu/xml/dom/html2/DomHTMLImageElement.java, * gnu/xml/dom/html2/DomHTMLImpl.java, * gnu/xml/dom/html2/DomHTMLInputElement.java, * gnu/xml/dom/html2/DomHTMLIsIndexElement.java, * gnu/xml/dom/html2/DomHTMLLIElement.java, * gnu/xml/dom/html2/DomHTMLLabelElement.java, * gnu/xml/dom/html2/DomHTMLLegendElement.java, * gnu/xml/dom/html2/DomHTMLLinkElement.java, * gnu/xml/dom/html2/DomHTMLMapElement.java, * gnu/xml/dom/html2/DomHTMLMenuElement.java, * gnu/xml/dom/html2/DomHTMLMetaElement.java, * gnu/xml/dom/html2/DomHTMLModElement.java, * gnu/xml/dom/html2/DomHTMLOListElement.java, * gnu/xml/dom/html2/DomHTMLObjectElement.java, * gnu/xml/dom/html2/DomHTMLOptGroupElement.java, * gnu/xml/dom/html2/DomHTMLOptionElement.java, * gnu/xml/dom/html2/DomHTMLParagraphElement.java, * gnu/xml/dom/html2/DomHTMLParamElement.java, * gnu/xml/dom/html2/DomHTMLParser.java, * gnu/xml/dom/html2/DomHTMLPreElement.java, * gnu/xml/dom/html2/DomHTMLQuoteElement.java, * gnu/xml/dom/html2/DomHTMLScriptElement.java, * gnu/xml/dom/html2/DomHTMLSelectElement.java, * gnu/xml/dom/html2/DomHTMLStyleElement.java, * gnu/xml/dom/html2/DomHTMLTableCaptionElement.java, * gnu/xml/dom/html2/DomHTMLTableCellElement.java, * gnu/xml/dom/html2/DomHTMLTableColElement.java, * gnu/xml/dom/html2/DomHTMLTableElement.java, * gnu/xml/dom/html2/DomHTMLTableRowElement.java, * gnu/xml/dom/html2/DomHTMLTableSectionElement.java, * gnu/xml/dom/html2/DomHTMLTextAreaElement.java, * gnu/xml/dom/html2/DomHTMLTitleElement.java, * gnu/xml/dom/html2/DomHTMLUListElement.java, * gnu/xml/dom/ls/DomLSException.java, * gnu/xml/dom/ls/DomLSInput.java, * gnu/xml/dom/ls/DomLSOutput.java, * gnu/xml/dom/ls/DomLSParser.java, * gnu/xml/dom/ls/DomLSSerializer.java, * gnu/xml/dom/ls/FilteredSAXEventSink.java, * gnu/xml/dom/ls/ReaderInputStream.java, * gnu/xml/dom/ls/SAXEventSink.java, * gnu/xml/dom/ls/WriterOutputStream.java, * gnu/xml/libxmlj/dom/GnomeAttr.java, * gnu/xml/libxmlj/dom/GnomeCDATASection.java, * gnu/xml/libxmlj/dom/GnomeCharacterData.java, * gnu/xml/libxmlj/dom/GnomeComment.java, * gnu/xml/libxmlj/dom/GnomeDOMException.java, * gnu/xml/libxmlj/dom/GnomeDOMStringList.java, * gnu/xml/libxmlj/dom/GnomeDocument.java, * gnu/xml/libxmlj/dom/GnomeDocumentBuilder.java, * gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java, * gnu/xml/libxmlj/dom/GnomeDocumentFragment.java, * gnu/xml/libxmlj/dom/GnomeDocumentType.java, * gnu/xml/libxmlj/dom/GnomeElement.java, * gnu/xml/libxmlj/dom/GnomeEntity.java, * gnu/xml/libxmlj/dom/GnomeEntityReference.java, * gnu/xml/libxmlj/dom/GnomeNamedNodeMap.java, * gnu/xml/libxmlj/dom/GnomeNode.java, * gnu/xml/libxmlj/dom/GnomeNodeList.java, * gnu/xml/libxmlj/dom/GnomeNotation.java, * gnu/xml/libxmlj/dom/GnomeProcessingInstruction.java, * gnu/xml/libxmlj/dom/GnomeText.java, * gnu/xml/libxmlj/dom/GnomeTypeInfo.java, * gnu/xml/libxmlj/dom/GnomeXPathExpression.java, * gnu/xml/libxmlj/dom/GnomeXPathNSResolver.java, * gnu/xml/libxmlj/dom/GnomeXPathNodeList.java, * gnu/xml/libxmlj/dom/GnomeXPathResult.java, * gnu/xml/libxmlj/sax/GnomeLocator.java, * gnu/xml/libxmlj/sax/GnomeSAXParser.java, * gnu/xml/libxmlj/sax/GnomeSAXParserFactory.java, * gnu/xml/libxmlj/sax/GnomeXMLReader.java, * gnu/xml/libxmlj/sax/Namespaces.java, * gnu/xml/libxmlj/sax/StringArrayAttributes.java, * gnu/xml/libxmlj/sax/XMLName.java, * gnu/xml/libxmlj/transform/ErrorListenerErrorHandler.java, * gnu/xml/libxmlj/transform/GnomeTransformer.java, * gnu/xml/libxmlj/transform/GnomeTransformerFactory.java, * gnu/xml/libxmlj/transform/URIResolverEntityResolver.java, * gnu/xml/libxmlj/util/EmptyNodeList.java, * gnu/xml/libxmlj/util/NamedInputStream.java, * gnu/xml/libxmlj/util/StandaloneDocumentType.java, * gnu/xml/libxmlj/util/StandaloneLocator.java, * gnu/xml/libxmlj/util/XMLJ.java, * gnu/xml/pipeline/CallFilter.java, * gnu/xml/pipeline/DomConsumer.java, * gnu/xml/pipeline/EventConsumer.java, * gnu/xml/pipeline/EventFilter.java, * gnu/xml/pipeline/LinkFilter.java, * gnu/xml/pipeline/NSFilter.java, * gnu/xml/pipeline/PipelineFactory.java, * gnu/xml/pipeline/TeeConsumer.java, * gnu/xml/pipeline/TextConsumer.java, * gnu/xml/pipeline/ValidationConsumer.java, * gnu/xml/pipeline/WellFormednessFilter.java, * gnu/xml/pipeline/XIncludeFilter.java, * gnu/xml/pipeline/XsltFilter.java, * gnu/xml/stream/AttributeImpl.java, * gnu/xml/stream/BufferedReader.java, * gnu/xml/stream/CRLFReader.java, * gnu/xml/stream/CharactersImpl.java, * gnu/xml/stream/CommentImpl.java, * gnu/xml/stream/DTDImpl.java, * gnu/xml/stream/EndDocumentImpl.java, * gnu/xml/stream/EndElementImpl.java, * gnu/xml/stream/EntityDeclarationImpl.java, * gnu/xml/stream/EntityReferenceImpl.java, * gnu/xml/stream/FilteredEventReader.java, * gnu/xml/stream/FilteredStreamReader.java, * gnu/xml/stream/NamespaceImpl.java, * gnu/xml/stream/NotationDeclarationImpl.java, * gnu/xml/stream/ProcessingInstructionImpl.java, * gnu/xml/stream/SAXParser.java, * gnu/xml/stream/SAXParserFactory.java, * gnu/xml/stream/StartDocumentImpl.java, * gnu/xml/stream/StartElementImpl.java, * gnu/xml/stream/UnicodeReader.java, * gnu/xml/stream/XIncludeFilter.java, * gnu/xml/stream/XMLEventAllocatorImpl.java, * gnu/xml/stream/XMLEventFactoryImpl.java, * gnu/xml/stream/XMLEventImpl.java, * gnu/xml/stream/XMLEventReaderImpl.java, * gnu/xml/stream/XMLEventWriterImpl.java, * gnu/xml/stream/XMLInputFactoryImpl.java, * gnu/xml/stream/XMLOutputFactoryImpl.java, * gnu/xml/stream/XMLParser.java, * gnu/xml/stream/XMLStreamWriterImpl.java, * gnu/xml/transform/AbstractNumberNode.java, * gnu/xml/transform/ApplyImportsNode.java, * gnu/xml/transform/ApplyTemplatesNode.java, * gnu/xml/transform/AttributeNode.java, * gnu/xml/transform/AttributeSet.java, * gnu/xml/transform/Bindings.java, * gnu/xml/transform/CallTemplateNode.java, * gnu/xml/transform/ChooseNode.java, * gnu/xml/transform/CommentNode.java, * gnu/xml/transform/CopyNode.java, * gnu/xml/transform/CopyOfNode.java, * gnu/xml/transform/CurrentFunction.java, * gnu/xml/transform/DOMSourceLocator.java, * gnu/xml/transform/DocumentFunction.java, * gnu/xml/transform/ElementAvailableFunction.java, * gnu/xml/transform/ElementNode.java, * gnu/xml/transform/ErrorListenerErrorHandler.java, * gnu/xml/transform/ForEachNode.java, * gnu/xml/transform/FormatNumberFunction.java, * gnu/xml/transform/FunctionAvailableFunction.java, * gnu/xml/transform/GenerateIdFunction.java, * gnu/xml/transform/IfNode.java, * gnu/xml/transform/Key.java, * gnu/xml/transform/KeyFunction.java, * gnu/xml/transform/LiteralNode.java, * gnu/xml/transform/MessageNode.java, * gnu/xml/transform/NamespaceProxy.java, * gnu/xml/transform/NodeNumberNode.java, * gnu/xml/transform/NumberNode.java, * gnu/xml/transform/OtherwiseNode.java, * gnu/xml/transform/ParameterNode.java, * gnu/xml/transform/ProcessingInstructionNode.java, * gnu/xml/transform/SAXSerializer.java, * gnu/xml/transform/SAXTemplatesHandler.java, * gnu/xml/transform/SAXTransformerHandler.java, * gnu/xml/transform/SortKey.java, * gnu/xml/transform/StreamSerializer.java, * gnu/xml/transform/StrippingInstruction.java, * gnu/xml/transform/Stylesheet.java, * gnu/xml/transform/SystemPropertyFunction.java, * gnu/xml/transform/Template.java, * gnu/xml/transform/TemplateNode.java, * gnu/xml/transform/TemplatesImpl.java, * gnu/xml/transform/TextNode.java, * gnu/xml/transform/TransformerFactoryImpl.java, * gnu/xml/transform/TransformerImpl.java, * gnu/xml/transform/TransformerOutputProperties.java, * gnu/xml/transform/URIResolverEntityResolver.java, * gnu/xml/transform/UnparsedEntityUriFunction.java, * gnu/xml/transform/ValueOfNode.java, * gnu/xml/transform/WhenNode.java, * gnu/xml/transform/WithParam.java, * gnu/xml/transform/XSLComparator.java, * gnu/xml/transform/XSLURIResolver.java, * gnu/xml/util/DoParse.java, * gnu/xml/util/DomParser.java, * gnu/xml/util/Resolver.java, * gnu/xml/util/SAXNullTransformerFactory.java, * gnu/xml/util/XCat.java, * gnu/xml/util/XHTMLWriter.java, * gnu/xml/util/XMLWriter.java, * gnu/xml/validation/datatype/Annotation.java, * gnu/xml/validation/datatype/AnySimpleType.java, * gnu/xml/validation/datatype/AnyType.java, * gnu/xml/validation/datatype/AnyURIType.java, * gnu/xml/validation/datatype/AtomicSimpleType.java, * gnu/xml/validation/datatype/Base64BinaryType.java, * gnu/xml/validation/datatype/BooleanType.java, * gnu/xml/validation/datatype/ByteType.java, * gnu/xml/validation/datatype/DateTimeType.java, * gnu/xml/validation/datatype/DateType.java, * gnu/xml/validation/datatype/DecimalType.java, * gnu/xml/validation/datatype/DoubleType.java, * gnu/xml/validation/datatype/DurationType.java, * gnu/xml/validation/datatype/EntitiesType.java, * gnu/xml/validation/datatype/EntityType.java, * gnu/xml/validation/datatype/EnumerationFacet.java, * gnu/xml/validation/datatype/Facet.java, * gnu/xml/validation/datatype/FloatType.java, * gnu/xml/validation/datatype/FractionDigitsFacet.java, * gnu/xml/validation/datatype/GDayType.java, * gnu/xml/validation/datatype/GMonthDayType.java, * gnu/xml/validation/datatype/GMonthType.java, * gnu/xml/validation/datatype/GYearMonthType.java, * gnu/xml/validation/datatype/GYearType.java, * gnu/xml/validation/datatype/HexBinaryType.java, * gnu/xml/validation/datatype/IDRefType.java, * gnu/xml/validation/datatype/IDRefsType.java, * gnu/xml/validation/datatype/IDType.java, * gnu/xml/validation/datatype/IntType.java, * gnu/xml/validation/datatype/IntegerType.java, * gnu/xml/validation/datatype/LanguageType.java, * gnu/xml/validation/datatype/LengthFacet.java, * gnu/xml/validation/datatype/ListSimpleType.java, * gnu/xml/validation/datatype/LongType.java, * gnu/xml/validation/datatype/MaxExclusiveFacet.java, * gnu/xml/validation/datatype/MaxInclusiveFacet.java, * gnu/xml/validation/datatype/MaxLengthFacet.java, * gnu/xml/validation/datatype/MinExclusiveFacet.java, * gnu/xml/validation/datatype/MinInclusiveFacet.java, * gnu/xml/validation/datatype/MinLengthFacet.java, * gnu/xml/validation/datatype/NCNameType.java, * gnu/xml/validation/datatype/NMTokenType.java, * gnu/xml/validation/datatype/NMTokensType.java, * gnu/xml/validation/datatype/NameType.java, * gnu/xml/validation/datatype/NegativeIntegerType.java, * gnu/xml/validation/datatype/NonNegativeIntegerType.java, * gnu/xml/validation/datatype/NonPositiveIntegerType.java, * gnu/xml/validation/datatype/NormalizedStringType.java, * gnu/xml/validation/datatype/NotationType.java, * gnu/xml/validation/datatype/PatternFacet.java, * gnu/xml/validation/datatype/PositiveIntegerType.java, * gnu/xml/validation/datatype/QNameType.java, * gnu/xml/validation/datatype/ShortType.java, * gnu/xml/validation/datatype/SimpleType.java, * gnu/xml/validation/datatype/StringType.java, * gnu/xml/validation/datatype/TimeType.java, * gnu/xml/validation/datatype/TokenType.java, * gnu/xml/validation/datatype/TotalDigitsFacet.java, * gnu/xml/validation/datatype/Type.java, * gnu/xml/validation/datatype/TypeBuilder.java, * gnu/xml/validation/datatype/TypeLibrary.java, * gnu/xml/validation/datatype/TypeLibraryFactory.java, * gnu/xml/validation/datatype/UnionSimpleType.java, * gnu/xml/validation/datatype/UnsignedByteType.java, * gnu/xml/validation/datatype/UnsignedIntType.java, * gnu/xml/validation/datatype/UnsignedLongType.java, * gnu/xml/validation/datatype/UnsignedShortType.java, * gnu/xml/validation/datatype/WhiteSpaceFacet.java, * gnu/xml/validation/relaxng/AnyNameNameClass.java, * gnu/xml/validation/relaxng/AttributePattern.java, * gnu/xml/validation/relaxng/ChoiceNameClass.java, * gnu/xml/validation/relaxng/ChoicePattern.java, * gnu/xml/validation/relaxng/DataPattern.java, * gnu/xml/validation/relaxng/Define.java, * gnu/xml/validation/relaxng/ElementPattern.java, * gnu/xml/validation/relaxng/EmptyPattern.java, * gnu/xml/validation/relaxng/FullSyntaxBuilder.java, * gnu/xml/validation/relaxng/Grammar.java, * gnu/xml/validation/relaxng/GrammarException.java, * gnu/xml/validation/relaxng/GrammarValidator.java, * gnu/xml/validation/relaxng/GroupPattern.java, * gnu/xml/validation/relaxng/InterleavePattern.java, * gnu/xml/validation/relaxng/ListPattern.java, * gnu/xml/validation/relaxng/NSNameNameClass.java, * gnu/xml/validation/relaxng/NameClass.java, * gnu/xml/validation/relaxng/NameNameClass.java, * gnu/xml/validation/relaxng/NotAllowedPattern.java, * gnu/xml/validation/relaxng/OneOrMorePattern.java, * gnu/xml/validation/relaxng/Param.java, * gnu/xml/validation/relaxng/Pattern.java, * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java, * gnu/xml/validation/relaxng/RefPattern.java, * gnu/xml/validation/relaxng/TextPattern.java, * gnu/xml/validation/relaxng/ValuePattern.java, * gnu/xml/validation/xmlschema/AnyAttribute.java, * gnu/xml/validation/xmlschema/AttributeDeclaration.java, * gnu/xml/validation/xmlschema/AttributeUse.java, * gnu/xml/validation/xmlschema/ComplexType.java, * gnu/xml/validation/xmlschema/ElementDeclaration.java, * gnu/xml/validation/xmlschema/Particle.java, * gnu/xml/validation/xmlschema/ValidationException.java, * gnu/xml/validation/xmlschema/XMLSchema.java, * gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java, * gnu/xml/validation/xmlschema/XMLSchemaBuilder.java, * gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java, * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java, * gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java, * gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java, * gnu/xml/validation/xmlschema/XMLSchemaValidator.java, * gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java, * gnu/xml/xpath/AndExpr.java, * gnu/xml/xpath/ArithmeticExpr.java, * gnu/xml/xpath/BooleanFunction.java, * gnu/xml/xpath/CeilingFunction.java, * gnu/xml/xpath/ConcatFunction.java, * gnu/xml/xpath/Constant.java, * gnu/xml/xpath/ContainsFunction.java, * gnu/xml/xpath/CountFunction.java, * gnu/xml/xpath/DocumentOrderComparator.java, * gnu/xml/xpath/EqualityExpr.java, * gnu/xml/xpath/Expr.java, * gnu/xml/xpath/FalseFunction.java, * gnu/xml/xpath/FloorFunction.java, * gnu/xml/xpath/Function.java, * gnu/xml/xpath/FunctionCall.java, * gnu/xml/xpath/IdFunction.java, * gnu/xml/xpath/LangFunction.java, * gnu/xml/xpath/LastFunction.java, * gnu/xml/xpath/LocalNameFunction.java, * gnu/xml/xpath/NameFunction.java, * gnu/xml/xpath/NameTest.java, * gnu/xml/xpath/NamespaceTest.java, * gnu/xml/xpath/NamespaceUriFunction.java, * gnu/xml/xpath/NegativeExpr.java, * gnu/xml/xpath/NodeTypeTest.java, * gnu/xml/xpath/NormalizeSpaceFunction.java, * gnu/xml/xpath/NotFunction.java, * gnu/xml/xpath/NumberFunction.java, * gnu/xml/xpath/OrExpr.java, * gnu/xml/xpath/ParenthesizedExpr.java, * gnu/xml/xpath/Path.java, * gnu/xml/xpath/Pattern.java, * gnu/xml/xpath/PositionFunction.java, * gnu/xml/xpath/Predicate.java, * gnu/xml/xpath/RelationalExpr.java, * gnu/xml/xpath/Root.java, * gnu/xml/xpath/RoundFunction.java, * gnu/xml/xpath/Selector.java, * gnu/xml/xpath/StartsWithFunction.java, * gnu/xml/xpath/Steps.java, * gnu/xml/xpath/StringFunction.java, * gnu/xml/xpath/StringLengthFunction.java, * gnu/xml/xpath/SubstringAfterFunction.java, * gnu/xml/xpath/SubstringBeforeFunction.java, * gnu/xml/xpath/SubstringFunction.java, * gnu/xml/xpath/SumFunction.java, * gnu/xml/xpath/Test.java, * gnu/xml/xpath/TranslateFunction.java, * gnu/xml/xpath/TrueFunction.java, * gnu/xml/xpath/UnionExpr.java, * gnu/xml/xpath/VariableReference.java, * gnu/xml/xpath/XPathFactoryImpl.java, * gnu/xml/xpath/XPathImpl.java, * gnu/xml/xpath/XPathParser.java, * gnu/xml/xpath/XPathTokenizer.java, * java/applet/Applet.java, * java/awt/AWTEvent.java, * java/awt/AWTEventMulticaster.java, * java/awt/AWTKeyStroke.java, * java/awt/AlphaComposite.java, * java/awt/BasicStroke.java, * java/awt/BorderLayout.java, * java/awt/BufferCapabilities.java, * java/awt/Button.java, * java/awt/Canvas.java, * java/awt/CardLayout.java, * java/awt/Checkbox.java, * java/awt/CheckboxGroup.java, * java/awt/CheckboxMenuItem.java, * java/awt/Choice.java, * java/awt/Color.java, * java/awt/ColorPaintContext.java, * java/awt/Component.java, * java/awt/Container.java, * java/awt/ContainerOrderFocusTraversalPolicy.java, * java/awt/Cursor.java, * java/awt/DefaultFocusTraversalPolicy.java, * java/awt/DefaultKeyboardFocusManager.java, * java/awt/Desktop.java, * java/awt/Dialog.java, * java/awt/DisplayMode.java, * java/awt/Event.java, * java/awt/EventDispatchThread.java, * java/awt/EventQueue.java, * java/awt/FileDialog.java, * java/awt/FlowLayout.java, * java/awt/FocusTraversalPolicy.java, * java/awt/Font.java, * java/awt/FontMetrics.java, * java/awt/Frame.java, * java/awt/GradientPaint.java, * java/awt/Graphics.java, * java/awt/Graphics2D.java, * java/awt/GraphicsConfiguration.java, * java/awt/GraphicsDevice.java, * java/awt/GridBagConstraints.java, * java/awt/GridBagLayout.java, * java/awt/GridLayout.java, * java/awt/Image.java, * java/awt/Insets.java, * java/awt/JobAttributes.java, * java/awt/KeyboardFocusManager.java, * java/awt/Label.java, * java/awt/LightweightDispatcher.java, * java/awt/List.java, * java/awt/MediaTracker.java, * java/awt/Menu.java, * java/awt/MenuBar.java, * java/awt/MenuComponent.java, * java/awt/MenuItem.java, * java/awt/MenuShortcut.java, * java/awt/MouseInfo.java, * java/awt/PageAttributes.java, * java/awt/Point.java, * java/awt/PointerInfo.java, * java/awt/Polygon.java, * java/awt/PopupMenu.java, * java/awt/Rectangle.java, * java/awt/RenderingHints.java, * java/awt/Robot.java, * java/awt/ScrollPane.java, * java/awt/ScrollPaneAdjustable.java, * java/awt/Scrollbar.java, * java/awt/Shape.java, * java/awt/SystemColor.java, * java/awt/TextArea.java, * java/awt/TextComponent.java, * java/awt/TextField.java, * java/awt/TexturePaint.java, * java/awt/Toolkit.java, * java/awt/Window.java, * java/awt/color/ICC_ColorSpace.java, * java/awt/color/ICC_Profile.java, * java/awt/color/ICC_ProfileGray.java, * java/awt/color/ICC_ProfileRGB.java, * java/awt/datatransfer/Clipboard.java, * java/awt/datatransfer/ClipboardOwner.java, * java/awt/datatransfer/DataFlavor.java, * java/awt/datatransfer/FlavorEvent.java, * java/awt/datatransfer/FlavorListener.java, * java/awt/datatransfer/MimeType.java, * java/awt/datatransfer/StringSelection.java, * java/awt/datatransfer/SystemFlavorMap.java, * java/awt/datatransfer/Transferable.java, * java/awt/datatransfer/UnsupportedFlavorException.java, * java/awt/dnd/Autoscroll.java, * java/awt/dnd/DnDEventMulticaster.java, * java/awt/dnd/DragGestureEvent.java, * java/awt/dnd/DragGestureRecognizer.java, * java/awt/dnd/DragSource.java, * java/awt/dnd/DragSourceContext.java, * java/awt/dnd/DragSourceDropEvent.java, * java/awt/dnd/DragSourceEvent.java, * java/awt/dnd/DropTarget.java, * java/awt/dnd/DropTargetContext.java, * java/awt/dnd/DropTargetDragEvent.java, * java/awt/dnd/DropTargetDropEvent.java, * java/awt/dnd/DropTargetEvent.java, * java/awt/dnd/MouseDragGestureRecognizer.java, * java/awt/dnd/peer/DropTargetContextPeer.java, * java/awt/event/AWTEventListener.java, * java/awt/event/ActionEvent.java, * java/awt/event/ComponentAdapter.java, * java/awt/event/ComponentEvent.java, * java/awt/event/InputEvent.java, * java/awt/event/InputMethodEvent.java, * java/awt/event/InvocationEvent.java, * java/awt/event/KeyEvent.java, * java/awt/event/MouseEvent.java, * java/awt/event/MouseListener.java, * java/awt/event/MouseWheelEvent.java, * java/awt/event/WindowEvent.java, * java/awt/font/FontRenderContext.java, * java/awt/font/GlyphJustificationInfo.java, * java/awt/font/GlyphMetrics.java, * java/awt/font/GlyphVector.java, * java/awt/font/GraphicAttribute.java, * java/awt/font/ImageGraphicAttribute.java, * java/awt/font/LineBreakMeasurer.java, * java/awt/font/LineMetrics.java, * java/awt/font/MultipleMaster.java, * java/awt/font/OpenType.java, * java/awt/font/ShapeGraphicAttribute.java, * java/awt/font/TextAttribute.java, * java/awt/font/TextHitInfo.java, * java/awt/font/TextLayout.java, * java/awt/font/TextMeasurer.java, * java/awt/font/TransformAttribute.java, * java/awt/geom/AffineTransform.java, * java/awt/geom/Arc2D.java, * java/awt/geom/Area.java, * java/awt/geom/CubicCurve2D.java, * java/awt/geom/Ellipse2D.java, * java/awt/geom/FlatteningPathIterator.java, * java/awt/geom/GeneralPath.java, * java/awt/geom/Line2D.java, * java/awt/geom/QuadCurve2D.java, * java/awt/geom/RectangularShape.java, * java/awt/geom/RoundRectangle2D.java, * java/awt/im/InputContext.java, * java/awt/im/spi/InputMethodDescriptor.java, * java/awt/image/AffineTransformOp.java, * java/awt/image/AreaAveragingScaleFilter.java, * java/awt/image/BandCombineOp.java, * java/awt/image/BandedSampleModel.java, * java/awt/image/BufferedImage.java, * java/awt/image/BufferedImageFilter.java, * java/awt/image/BufferedImageOp.java, * java/awt/image/ByteLookupTable.java, * java/awt/image/ColorConvertOp.java, * java/awt/image/ColorModel.java, * java/awt/image/ComponentColorModel.java, * java/awt/image/ComponentSampleModel.java, * java/awt/image/ConvolveOp.java, * java/awt/image/CropImageFilter.java, * java/awt/image/DataBuffer.java, * java/awt/image/DataBufferByte.java, * java/awt/image/DataBufferDouble.java, * java/awt/image/DataBufferFloat.java, * java/awt/image/DataBufferInt.java, * java/awt/image/DataBufferShort.java, * java/awt/image/DataBufferUShort.java, * java/awt/image/DirectColorModel.java, * java/awt/image/FilteredImageSource.java, * java/awt/image/ImageConsumer.java, * java/awt/image/ImageFilter.java, * java/awt/image/ImageObserver.java, * java/awt/image/ImageProducer.java, * java/awt/image/IndexColorModel.java, * java/awt/image/Kernel.java, * java/awt/image/LookupOp.java, * java/awt/image/LookupTable.java, * java/awt/image/MemoryImageSource.java, * java/awt/image/MultiPixelPackedSampleModel.java, * java/awt/image/PackedColorModel.java, * java/awt/image/PixelGrabber.java, * java/awt/image/PixelInterleavedSampleModel.java, * java/awt/image/RGBImageFilter.java, * java/awt/image/Raster.java, * java/awt/image/RasterOp.java, * java/awt/image/RenderedImage.java, * java/awt/image/ReplicateScaleFilter.java, * java/awt/image/RescaleOp.java, * java/awt/image/SampleModel.java, * java/awt/image/ShortLookupTable.java, * java/awt/image/SinglePixelPackedSampleModel.java, * java/awt/image/TileObserver.java, * java/awt/image/WritableRaster.java, * java/awt/image/WritableRenderedImage.java, * java/awt/image/renderable/ContextualRenderedImageFactory.java, * java/awt/image/renderable/ParameterBlock.java, * java/awt/image/renderable/RenderContext.java, * java/awt/image/renderable/RenderableImage.java, * java/awt/image/renderable/RenderableImageOp.java, * java/awt/image/renderable/RenderableImageProducer.java, * java/awt/image/renderable/RenderedImageFactory.java, * java/awt/peer/ButtonPeer.java, * java/awt/peer/CanvasPeer.java, * java/awt/peer/CheckboxMenuItemPeer.java, * java/awt/peer/CheckboxPeer.java, * java/awt/peer/ChoicePeer.java, * java/awt/peer/ComponentPeer.java, * java/awt/peer/ContainerPeer.java, * java/awt/peer/DesktopPeer.java, * java/awt/peer/DialogPeer.java, * java/awt/peer/FileDialogPeer.java, * java/awt/peer/FontPeer.java, * java/awt/peer/FramePeer.java, * java/awt/peer/LabelPeer.java, * java/awt/peer/LightweightPeer.java, * java/awt/peer/ListPeer.java, * java/awt/peer/MenuBarPeer.java, * java/awt/peer/MenuComponentPeer.java, * java/awt/peer/MenuItemPeer.java, * java/awt/peer/MenuPeer.java, * java/awt/peer/MouseInfoPeer.java, * java/awt/peer/PanelPeer.java, * java/awt/peer/PopupMenuPeer.java, * java/awt/peer/RobotPeer.java, * java/awt/peer/ScrollPanePeer.java, * java/awt/peer/ScrollbarPeer.java, * java/awt/peer/TextComponentPeer.java, * java/awt/peer/TextFieldPeer.java, * java/awt/peer/WindowPeer.java, * java/awt/print/Book.java, * java/awt/print/PageFormat.java, * java/awt/print/Pageable.java, * java/awt/print/Paper.java, * java/awt/print/PrinterGraphics.java, * java/awt/print/PrinterIOException.java, * java/awt/print/PrinterJob.java, * java/beans/AppletInitializer.java, * java/beans/BeanDescriptor.java, * java/beans/BeanInfo.java, * java/beans/Beans.java, * java/beans/Customizer.java, * java/beans/DefaultPersistenceDelegate.java, * java/beans/DesignMode.java, * java/beans/Encoder.java, * java/beans/EventHandler.java, * java/beans/EventSetDescriptor.java, * java/beans/Expression.java, * java/beans/FeatureDescriptor.java, * java/beans/IndexedPropertyChangeEvent.java, * java/beans/IndexedPropertyDescriptor.java, * java/beans/Introspector.java, * java/beans/MethodDescriptor.java, * java/beans/ParameterDescriptor.java, * java/beans/PersistenceDelegate.java, * java/beans/PropertyChangeSupport.java, * java/beans/PropertyDescriptor.java, * java/beans/PropertyEditor.java, * java/beans/PropertyEditorManager.java, * java/beans/SimpleBeanInfo.java, * java/beans/Statement.java, * java/beans/VetoableChangeSupport.java, * java/beans/Visibility.java, * java/beans/XMLDecoder.java, * java/beans/XMLEncoder.java, * java/beans/beancontext/BeanContext.java, * java/beans/beancontext/BeanContextChild.java, * java/beans/beancontext/BeanContextChildComponentProxy.java, * java/beans/beancontext/BeanContextChildSupport.java, * java/beans/beancontext/BeanContextContainerProxy.java, * java/beans/beancontext/BeanContextEvent.java, * java/beans/beancontext/BeanContextMembershipEvent.java, * java/beans/beancontext/BeanContextMembershipListener.java, * java/beans/beancontext/BeanContextProxy.java, * java/beans/beancontext/BeanContextServiceAvailableEvent.java, * java/beans/beancontext/BeanContextServiceProvider.java, * java/beans/beancontext/BeanContextServiceProviderBeanInfo.java, * java/beans/beancontext/BeanContextServiceRevokedEvent.java, * java/beans/beancontext/BeanContextServiceRevokedListener.java, * java/beans/beancontext/BeanContextServices.java, * java/beans/beancontext/BeanContextServicesListener.java, * java/beans/beancontext/BeanContextServicesSupport.java, * java/beans/beancontext/BeanContextSupport.java, * java/io/BufferedInputStream.java, * java/io/BufferedOutputStream.java, * java/io/BufferedReader.java, * java/io/BufferedWriter.java, * java/io/ByteArrayInputStream.java, * java/io/ByteArrayOutputStream.java, * java/io/CharArrayReader.java, * java/io/CharArrayWriter.java, * java/io/DataInput.java, * java/io/DataInputStream.java, * java/io/DataOutput.java, * java/io/DataOutputStream.java, * java/io/DeleteFileHelper.java, * java/io/EOFException.java, * java/io/Externalizable.java, * java/io/File.java, * java/io/FileDescriptor.java, * java/io/FileFilter.java, * java/io/FileInputStream.java, * java/io/FileOutputStream.java, * java/io/FilePermission.java, * java/io/FileReader.java, * java/io/FileWriter.java, * java/io/FilenameFilter.java, * java/io/FilterInputStream.java, * java/io/FilterOutputStream.java, * java/io/FilterReader.java, * java/io/FilterWriter.java, * java/io/InputStream.java, * java/io/InputStreamReader.java, * java/io/InvalidClassException.java, * java/io/LineNumberInputStream.java, * java/io/LineNumberReader.java, * java/io/ObjectInput.java, * java/io/ObjectInputStream.java, * java/io/ObjectInputValidation.java, * java/io/ObjectOutput.java, * java/io/ObjectOutputStream.java, * java/io/ObjectStreamClass.java, * java/io/ObjectStreamConstants.java, * java/io/ObjectStreamField.java, * java/io/OutputStream.java, * java/io/OutputStreamWriter.java, * java/io/PipedInputStream.java, * java/io/PipedOutputStream.java, * java/io/PipedReader.java, * java/io/PipedWriter.java, * java/io/PrintStream.java, * java/io/PrintWriter.java, * java/io/PushbackInputStream.java, * java/io/PushbackReader.java, * java/io/RandomAccessFile.java, * java/io/Reader.java, * java/io/SequenceInputStream.java, * java/io/Serializable.java, * java/io/SerializablePermission.java, * java/io/StreamTokenizer.java, * java/io/StringBufferInputStream.java, * java/io/StringReader.java, * java/io/StringWriter.java, * java/io/UnsupportedEncodingException.java, * java/io/Writer.java, * java/lang/AbstractStringBuffer.java, * java/lang/Boolean.java, * java/lang/Character.java, * java/lang/Class.java, * java/lang/ClassLoader.java, * java/lang/Comparable.java, * java/lang/Double.java, * java/lang/Enum.java, * java/lang/EnumConstantNotPresentException.java, * java/lang/Float.java, * java/lang/IllegalArgumentException.java, * java/lang/IllegalStateException.java, * java/lang/IndexOutOfBoundsException.java, * java/lang/Integer.java, * java/lang/Long.java, * java/lang/Math.java, * java/lang/NoClassDefFoundError.java, * java/lang/Object.java, * java/lang/Package.java, * java/lang/ProcessBuilder.java, * java/lang/Runtime.java, * java/lang/SecurityException.java, * java/lang/SecurityManager.java, * java/lang/StackTraceElement.java, * java/lang/StrictMath.java, * java/lang/String.java, * java/lang/StringBuffer.java, * java/lang/StringBuilder.java, * java/lang/System.java, * java/lang/Thread.java, * java/lang/ThreadLocal.java, * java/lang/Throwable.java, * java/lang/TypeNotPresentException.java, * java/lang/UnsupportedOperationException.java, * java/lang/annotation/Annotation.java, * java/lang/annotation/AnnotationTypeMismatchException.java, * java/lang/annotation/IncompleteAnnotationException.java, * java/lang/instrument/ClassFileTransformer.java, * java/lang/instrument/Instrumentation.java, * java/lang/management/ClassLoadingMXBean.java, * java/lang/management/CompilationMXBean.java, * java/lang/management/GarbageCollectorMXBean.java, * java/lang/management/ManagementFactory.java, * java/lang/management/ManagementPermission.java, * java/lang/management/MemoryMXBean.java, * java/lang/management/MemoryManagerMXBean.java, * java/lang/management/MemoryNotificationInfo.java, * java/lang/management/MemoryPoolMXBean.java, * java/lang/management/MemoryType.java, * java/lang/management/MemoryUsage.java, * java/lang/management/MonitorInfo.java, * java/lang/management/OperatingSystemMXBean.java, * java/lang/management/RuntimeMXBean.java, * java/lang/management/ThreadInfo.java, * java/lang/management/ThreadMXBean.java, * java/lang/ref/PhantomReference.java, * java/lang/ref/Reference.java, * java/lang/ref/ReferenceQueue.java, * java/lang/ref/SoftReference.java, * java/lang/ref/WeakReference.java, * java/lang/reflect/AccessibleObject.java, * java/lang/reflect/AnnotatedElement.java, * java/lang/reflect/Array.java, * java/lang/reflect/Constructor.java, * java/lang/reflect/Field.java, * java/lang/reflect/GenericArrayType.java, * java/lang/reflect/GenericDeclaration.java, * java/lang/reflect/InvocationHandler.java, * java/lang/reflect/MalformedParameterizedTypeException.java, * java/lang/reflect/Method.java, * java/lang/reflect/Modifier.java, * java/lang/reflect/Proxy.java, * java/lang/reflect/Type.java, * java/lang/reflect/TypeVariable.java, * java/lang/reflect/WildcardType.java, * java/math/BigDecimal.java, * java/math/BigInteger.java, * java/math/MathContext.java, * java/math/RoundingMode.java, * java/net/ContentHandler.java, * java/net/DatagramSocket.java, * java/net/DatagramSocketImpl.java, * java/net/HttpURLConnection.java, * java/net/Inet4Address.java, * java/net/Inet6Address.java, * java/net/InetAddress.java, * java/net/InetSocketAddress.java, * java/net/MimeTypeMapper.java, * java/net/MulticastSocket.java, * java/net/NetworkInterface.java, * java/net/Proxy.java, * java/net/ProxySelector.java, * java/net/ResolverCache.java, * java/net/ServerSocket.java, * java/net/Socket.java, * java/net/SocketPermission.java, * java/net/URI.java, * java/net/URL.java, * java/net/URLClassLoader.java, * java/net/URLConnection.java, * java/net/URLDecoder.java, * java/net/URLEncoder.java, * java/net/URLStreamHandler.java, * java/nio/Buffer.java, * java/nio/BufferOverflowException.java, * java/nio/BufferUnderflowException.java, * java/nio/ByteBuffer.java, * java/nio/ByteBufferHelper.java, * java/nio/ByteBufferImpl.java, * java/nio/ByteOrder.java, * java/nio/CharBuffer.java, * java/nio/CharBufferImpl.java, * java/nio/CharSequenceBuffer.java, * java/nio/CharViewBufferImpl.java, * java/nio/DirectByteBufferImpl.java, * java/nio/DoubleBuffer.java, * java/nio/DoubleBufferImpl.java, * java/nio/DoubleViewBufferImpl.java, * java/nio/FloatBuffer.java, * java/nio/FloatBufferImpl.java, * java/nio/FloatViewBufferImpl.java, * java/nio/IntBuffer.java, * java/nio/IntBufferImpl.java, * java/nio/IntViewBufferImpl.java, * java/nio/InvalidMarkException.java, * java/nio/LongBuffer.java, * java/nio/LongBufferImpl.java, * java/nio/LongViewBufferImpl.java, * java/nio/MappedByteBuffer.java, * java/nio/MappedByteBufferImpl.java, * java/nio/ReadOnlyBufferException.java, * java/nio/ShortBuffer.java, * java/nio/ShortBufferImpl.java, * java/nio/ShortViewBufferImpl.java, * java/nio/channels/FileChannel.java, * java/nio/channels/SocketChannel.java, * java/nio/channels/spi/AbstractInterruptibleChannel.java, * java/nio/channels/spi/AbstractSelectableChannel.java, * java/nio/channels/spi/AbstractSelectionKey.java, * java/nio/channels/spi/AbstractSelector.java, * java/nio/channels/spi/SelectorProvider.java, * java/nio/charset/CharacterCodingException.java, * java/nio/charset/Charset.java, * java/nio/charset/CharsetDecoder.java, * java/nio/charset/CharsetEncoder.java, * java/nio/charset/CoderMalfunctionError.java, * java/nio/charset/CoderResult.java, * java/nio/charset/CodingErrorAction.java, * java/nio/charset/IllegalCharsetNameException.java, * java/nio/charset/MalformedInputException.java, * java/nio/charset/UnmappableCharacterException.java, * java/nio/charset/UnsupportedCharsetException.java, * java/rmi/AccessException.java, * java/rmi/AlreadyBoundException.java, * java/rmi/MarshalledObject.java, * java/rmi/Naming.java, * java/rmi/NoSuchObjectException.java, * java/rmi/NotBoundException.java, * java/rmi/RMISecurityException.java, * java/rmi/RMISecurityManager.java, * java/rmi/Remote.java, * java/rmi/RemoteException.java, * java/rmi/StubNotFoundException.java, * java/rmi/UnknownHostException.java, * java/rmi/activation/Activatable.java, * java/rmi/activation/ActivationDesc.java, * java/rmi/activation/ActivationGroup.java, * java/rmi/activation/ActivationGroupDesc.java, * java/rmi/activation/ActivationGroupID.java, * java/rmi/activation/ActivationID.java, * java/rmi/activation/ActivationInstantiator.java, * java/rmi/activation/ActivationMonitor.java, * java/rmi/activation/ActivationSystem.java, * java/rmi/activation/Activator.java, * java/rmi/activation/UnknownGroupException.java, * java/rmi/dgc/DGC.java, * java/rmi/dgc/Lease.java, * java/rmi/dgc/VMID.java, * java/rmi/registry/LocateRegistry.java, * java/rmi/registry/Registry.java, * java/rmi/registry/RegistryHandler.java, * java/rmi/server/LoaderHandler.java, * java/rmi/server/LogStream.java, * java/rmi/server/ObjID.java, * java/rmi/server/Operation.java, * java/rmi/server/RMIClassLoader.java, * java/rmi/server/RMIClientSocketFactory.java, * java/rmi/server/RMIFailureHandler.java, * java/rmi/server/RMIServerSocketFactory.java, * java/rmi/server/RMISocketFactory.java, * java/rmi/server/RemoteCall.java, * java/rmi/server/RemoteObject.java, * java/rmi/server/RemoteObjectInvocationHandler.java, * java/rmi/server/RemoteRef.java, * java/rmi/server/RemoteServer.java, * java/rmi/server/RemoteStub.java, * java/rmi/server/ServerRef.java, * java/rmi/server/Skeleton.java, * java/rmi/server/UID.java, * java/rmi/server/UnicastRemoteObject.java, * java/rmi/server/Unreferenced.java, * java/security/AccessControlContext.java, * java/security/AccessController.java, * java/security/AlgorithmParameterGenerator.java, * java/security/AlgorithmParameterGeneratorSpi.java, * java/security/AlgorithmParameters.java, * java/security/AlgorithmParametersSpi.java, * java/security/CodeSource.java, * java/security/DigestInputStream.java, * java/security/DigestOutputStream.java, * java/security/GeneralSecurityException.java, * java/security/Identity.java, * java/security/IdentityScope.java, * java/security/KeyFactory.java, * java/security/KeyFactorySpi.java, * java/security/KeyPairGenerator.java, * java/security/KeyPairGeneratorSpi.java, * java/security/KeyStore.java, * java/security/KeyStoreSpi.java, * java/security/MessageDigest.java, * java/security/MessageDigestSpi.java, * java/security/Permission.java, * java/security/Permissions.java, * java/security/Policy.java, * java/security/ProtectionDomain.java, * java/security/Provider.java, * java/security/ProviderException.java, * java/security/SecureClassLoader.java, * java/security/SecureRandom.java, * java/security/SecureRandomSpi.java, * java/security/Security.java, * java/security/Signature.java, * java/security/SignatureSpi.java, * java/security/SignedObject.java, * java/security/Signer.java, * java/security/acl/Acl.java, * java/security/acl/AclEntry.java, * java/security/acl/Group.java, * java/security/acl/Owner.java, * java/security/cert/CRL.java, * java/security/cert/CRLSelector.java, * java/security/cert/CertPathBuilder.java, * java/security/cert/CertPathBuilderResult.java, * java/security/cert/CertPathValidator.java, * java/security/cert/CertPathValidatorResult.java, * java/security/cert/CertPathValidatorSpi.java, * java/security/cert/CertSelector.java, * java/security/cert/CertStore.java, * java/security/cert/CertStoreParameters.java, * java/security/cert/CertStoreSpi.java, * java/security/cert/Certificate.java, * java/security/cert/CertificateFactory.java, * java/security/cert/CertificateFactorySpi.java, * java/security/cert/CollectionCertStoreParameters.java, * java/security/cert/LDAPCertStoreParameters.java, * java/security/cert/PKIXBuilderParameters.java, * java/security/cert/PKIXCertPathBuilderResult.java, * java/security/cert/PKIXCertPathChecker.java, * java/security/cert/PKIXCertPathValidatorResult.java, * java/security/cert/PKIXParameters.java, * java/security/cert/PolicyNode.java, * java/security/cert/PolicyQualifierInfo.java, * java/security/cert/X509CRL.java, * java/security/cert/X509CRLEntry.java, * java/security/cert/X509CertSelector.java, * java/security/cert/X509Certificate.java, * java/security/cert/X509Extension.java, * java/security/spec/AlgorithmParameterSpec.java, * java/security/spec/DSAParameterSpec.java, * java/security/spec/DSAPrivateKeySpec.java, * java/security/spec/DSAPublicKeySpec.java, * java/security/spec/EncodedKeySpec.java, * java/security/spec/InvalidParameterSpecException.java, * java/security/spec/KeySpec.java, * java/security/spec/PKCS8EncodedKeySpec.java, * java/security/spec/PSSParameterSpec.java, * java/security/spec/RSAKeyGenParameterSpec.java, * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java, * java/security/spec/RSAOtherPrimeInfo.java, * java/security/spec/RSAPrivateCrtKeySpec.java, * java/security/spec/RSAPrivateKeySpec.java, * java/security/spec/RSAPublicKeySpec.java, * java/security/spec/X509EncodedKeySpec.java, * java/sql/Array.java, * java/sql/BatchUpdateException.java, * java/sql/Blob.java, * java/sql/CallableStatement.java, * java/sql/Clob.java, * java/sql/Connection.java, * java/sql/DataTruncation.java, * java/sql/DatabaseMetaData.java, * java/sql/Date.java, * java/sql/Driver.java, * java/sql/DriverManager.java, * java/sql/DriverPropertyInfo.java, * java/sql/ParameterMetaData.java, * java/sql/PreparedStatement.java, * java/sql/Ref.java, * java/sql/ResultSet.java, * java/sql/ResultSetMetaData.java, * java/sql/SQLData.java, * java/sql/SQLException.java, * java/sql/SQLInput.java, * java/sql/SQLOutput.java, * java/sql/SQLPermission.java, * java/sql/SQLWarning.java, * java/sql/Savepoint.java, * java/sql/Statement.java, * java/sql/Struct.java, * java/sql/Time.java, * java/sql/Timestamp.java, * java/sql/Types.java, * java/text/Annotation.java, * java/text/AttributedCharacterIterator.java, * java/text/AttributedString.java, * java/text/AttributedStringIterator.java, * java/text/Bidi.java, * java/text/BreakIterator.java, * java/text/CharacterIterator.java, * java/text/ChoiceFormat.java, * java/text/CollationElementIterator.java, * java/text/CollationKey.java, * java/text/Collator.java, * java/text/DateFormat.java, * java/text/DateFormatSymbols.java, * java/text/DecimalFormat.java, * java/text/DecimalFormatSymbols.java, * java/text/FieldPosition.java, * java/text/Format.java, * java/text/MessageFormat.java, * java/text/NumberFormat.java, * java/text/ParsePosition.java, * java/text/RuleBasedCollator.java, * java/text/SimpleDateFormat.java, * java/text/StringCharacterIterator.java, * java/text/spi/DateFormatProvider.java, * java/text/spi/NumberFormatProvider.java, * java/util/AbstractCollection.java, * java/util/AbstractList.java, * java/util/AbstractMap.java, * java/util/AbstractSet.java, * java/util/ArrayList.java, * java/util/Arrays.java, * java/util/BitSet.java, * java/util/Calendar.java, * java/util/Collections.java, * java/util/Currency.java, * java/util/Date.java, * java/util/Dictionary.java, * java/util/DuplicateFormatFlagsException.java, * java/util/EnumMap.java, * java/util/EnumSet.java, * java/util/FormatFlagsConversionMismatchException.java, * java/util/Formattable.java, * java/util/FormattableFlags.java, * java/util/Formatter.java, * java/util/FormatterClosedException.java, * java/util/GregorianCalendar.java, * java/util/HashMap.java, * java/util/Hashtable.java, * java/util/IdentityHashMap.java, * java/util/IllegalFormatCodePointException.java, * java/util/IllegalFormatConversionException.java, * java/util/IllegalFormatException.java, * java/util/IllegalFormatFlagsException.java, * java/util/IllegalFormatPrecisionException.java, * java/util/IllegalFormatWidthException.java, * java/util/InputMismatchException.java, * java/util/LinkedHashMap.java, * java/util/LinkedHashSet.java, * java/util/LinkedList.java, * java/util/List.java, * java/util/Locale.java, * java/util/Map.java, * java/util/MissingFormatArgumentException.java, * java/util/MissingFormatWidthException.java, * java/util/PriorityQueue.java, * java/util/Properties.java, * java/util/PropertyPermission.java, * java/util/PropertyPermissionCollection.java, * java/util/Random.java, * java/util/ResourceBundle.java, * java/util/ServiceConfigurationError.java, * java/util/ServiceLoader.java, * java/util/SimpleTimeZone.java, * java/util/StringTokenizer.java, * java/util/TimeZone.java, * java/util/Timer.java, * java/util/TreeMap.java, * java/util/TreeSet.java, * java/util/UUID.java, * java/util/UnknownFormatConversionException.java, * java/util/UnknownFormatFlagsException.java, * java/util/Vector.java, * java/util/WeakHashMap.java, * java/util/concurrent/CopyOnWriteArrayList.java, * java/util/jar/Attributes.java, * java/util/jar/JarEntry.java, * java/util/jar/JarFile.java, * java/util/jar/JarInputStream.java, * java/util/jar/JarOutputStream.java, * java/util/jar/Manifest.java, * java/util/logging/ConsoleHandler.java, * java/util/logging/ErrorManager.java, * java/util/logging/FileHandler.java, * java/util/logging/Formatter.java, * java/util/logging/Handler.java, * java/util/logging/Level.java, * java/util/logging/LogManager.java, * java/util/logging/LogRecord.java, * java/util/logging/Logger.java, * java/util/logging/LoggingMXBean.java, * java/util/logging/LoggingPermission.java, * java/util/logging/MemoryHandler.java, * java/util/logging/SocketHandler.java, * java/util/logging/StreamHandler.java, * java/util/logging/XMLFormatter.java, * java/util/prefs/AbstractPreferences.java, * java/util/prefs/NodeChangeEvent.java, * java/util/prefs/NodeChangeListener.java, * java/util/prefs/PreferenceChangeEvent.java, * java/util/prefs/PreferenceChangeListener.java, * java/util/prefs/Preferences.java, * java/util/prefs/PreferencesFactory.java, * java/util/regex/MatchResult.java, * java/util/regex/Pattern.java, * java/util/regex/PatternSyntaxException.java, * java/util/spi/LocaleNameProvider.java, * java/util/spi/TimeZoneNameProvider.java, * java/util/zip/Adler32.java, * java/util/zip/CRC32.java, * java/util/zip/CheckedInputStream.java, * java/util/zip/CheckedOutputStream.java, * java/util/zip/Deflater.java, * java/util/zip/DeflaterEngine.java, * java/util/zip/DeflaterHuffman.java, * java/util/zip/DeflaterOutputStream.java, * java/util/zip/DeflaterPending.java, * java/util/zip/GZIPInputStream.java, * java/util/zip/GZIPOutputStream.java, * java/util/zip/Inflater.java, * java/util/zip/InflaterDynHeader.java, * java/util/zip/InflaterHuffmanTree.java, * java/util/zip/InflaterInputStream.java, * java/util/zip/OutputWindow.java, * java/util/zip/PendingBuffer.java, * java/util/zip/StreamManipulator.java, * java/util/zip/ZipConstants.java, * java/util/zip/ZipEntry.java, * java/util/zip/ZipFile.java, * java/util/zip/ZipInputStream.java, * java/util/zip/ZipOutputStream.java, * javax/accessibility/AccessibleExtendedText.java, * javax/accessibility/AccessibleRelation.java, * javax/accessibility/AccessibleRole.java, * javax/accessibility/AccessibleState.java, * javax/activation/ActivationDataFlavor.java, * javax/activation/CommandInfo.java, * javax/activation/CommandMap.java, * javax/activation/CommandObject.java, * javax/activation/DataContentHandler.java, * javax/activation/DataContentHandlerFactory.java, * javax/activation/DataHandler.java, * javax/activation/DataHandlerDataSource.java, * javax/activation/DataSource.java, * javax/activation/DataSourceDataContentHandler.java, * javax/activation/FileDataSource.java, * javax/activation/FileTypeMap.java, * javax/activation/MailcapCommandMap.java, * javax/activation/MimeType.java, * javax/activation/MimeTypeParameterList.java, * javax/activation/MimeTypeParseException.java, * javax/activation/MimetypesFileTypeMap.java, * javax/activation/ObjectDataContentHandler.java, * javax/activation/URLDataSource.java, * javax/activation/UnsupportedDataTypeException.java, * javax/crypto/Cipher.java, * javax/crypto/CipherOutputStream.java, * javax/crypto/ExemptionMechanism.java, * javax/crypto/KeyAgreement.java, * javax/crypto/KeyGenerator.java, * javax/crypto/Mac.java, * javax/crypto/MacSpi.java, * javax/crypto/SecretKeyFactory.java, * javax/crypto/spec/PBEKeySpec.java, * javax/imageio/IIOImage.java, * javax/imageio/IIOParam.java, * javax/imageio/IIOParamController.java, * javax/imageio/ImageIO.java, * javax/imageio/ImageReadParam.java, * javax/imageio/ImageReader.java, * javax/imageio/ImageTranscoder.java, * javax/imageio/ImageTypeSpecifier.java, * javax/imageio/ImageWriteParam.java, * javax/imageio/ImageWriter.java, * javax/imageio/event/IIOReadProgressListener.java, * javax/imageio/event/IIOReadUpdateListener.java, * javax/imageio/event/IIOWriteProgressListener.java, * javax/imageio/metadata/IIOInvalidTreeException.java, * javax/imageio/metadata/IIOMetadata.java, * javax/imageio/metadata/IIOMetadataFormatImpl.java, * javax/imageio/metadata/IIOMetadataNode.java, * javax/imageio/plugins/bmp/BMPImageWriteParam.java, * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java, * javax/imageio/spi/IIORegistry.java, * javax/imageio/spi/ImageReaderSpi.java, * javax/imageio/spi/ImageWriterSpi.java, * javax/imageio/spi/RegisterableService.java, * javax/imageio/spi/ServiceRegistry.java, * javax/imageio/stream/FileCacheImageInputStream.java, * javax/imageio/stream/FileCacheImageOutputStream.java, * javax/imageio/stream/FileImageInputStream.java, * javax/imageio/stream/FileImageOutputStream.java, * javax/imageio/stream/ImageInputStream.java, * javax/imageio/stream/ImageInputStreamImpl.java, * javax/imageio/stream/ImageOutputStreamImpl.java, * javax/imageio/stream/MemoryCacheImageInputStream.java, * javax/imageio/stream/MemoryCacheImageOutputStream.java, * javax/management/Attribute.java, * javax/management/AttributeChangeNotification.java, * javax/management/AttributeChangeNotificationFilter.java, * javax/management/AttributeList.java, * javax/management/AttributeNotFoundException.java, * javax/management/AttributeValueExp.java, * javax/management/BadAttributeValueExpException.java, * javax/management/BadBinaryOpValueExpException.java, * javax/management/BadStringOperationException.java, * javax/management/DefaultLoaderRepository.java, * javax/management/Descriptor.java, * javax/management/DynamicMBean.java, * javax/management/InstanceAlreadyExistsException.java, * javax/management/InstanceNotFoundException.java, * javax/management/IntrospectionException.java, * javax/management/InvalidApplicationException.java, * javax/management/InvalidAttributeValueException.java, * javax/management/JMException.java, * javax/management/JMRuntimeException.java, * javax/management/JMX.java, * javax/management/ListenerNotFoundException.java, * javax/management/MBeanAttributeInfo.java, * javax/management/MBeanConstructorInfo.java, * javax/management/MBeanException.java, * javax/management/MBeanFeatureInfo.java, * javax/management/MBeanInfo.java, * javax/management/MBeanNotificationInfo.java, * javax/management/MBeanOperationInfo.java, * javax/management/MBeanParameterInfo.java, * javax/management/MBeanPermission.java, * javax/management/MBeanRegistrationException.java, * javax/management/MBeanServer.java, * javax/management/MBeanServerBuilder.java, * javax/management/MBeanServerConnection.java, * javax/management/MBeanServerDelegate.java, * javax/management/MBeanServerFactory.java, * javax/management/MBeanServerInvocationHandler.java, * javax/management/MBeanServerNotification.java, * javax/management/MBeanServerPermission.java, * javax/management/MBeanTrustPermission.java, * javax/management/MalformedObjectNameException.java, * javax/management/NotCompliantMBeanException.java, * javax/management/Notification.java, * javax/management/NotificationBroadcaster.java, * javax/management/NotificationBroadcasterSupport.java, * javax/management/NotificationEmitter.java, * javax/management/NotificationFilter.java, * javax/management/NotificationFilterSupport.java, * javax/management/NotificationListener.java, * javax/management/ObjectInstance.java, * javax/management/ObjectName.java, * javax/management/OperationsException.java, * javax/management/PersistentMBean.java, * javax/management/Query.java, * javax/management/QueryEval.java, * javax/management/QueryExp.java, * javax/management/ReflectionException.java, * javax/management/RuntimeErrorException.java, * javax/management/RuntimeMBeanException.java, * javax/management/RuntimeOperationsException.java, * javax/management/ServiceNotFoundException.java, * javax/management/StandardMBean.java, * javax/management/StringValueExp.java, * javax/management/ValueExp.java, * javax/management/loading/ClassLoaderRepository.java, * javax/management/openmbean/ArrayType.java, * javax/management/openmbean/CompositeData.java, * javax/management/openmbean/CompositeDataInvocationHandler.java, * javax/management/openmbean/CompositeDataSupport.java, * javax/management/openmbean/CompositeType.java, * javax/management/openmbean/InvalidKeyException.java, * javax/management/openmbean/InvalidOpenTypeException.java, * javax/management/openmbean/KeyAlreadyExistsException.java, * javax/management/openmbean/OpenDataException.java, * javax/management/openmbean/OpenMBeanAttributeInfo.java, * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java, * javax/management/openmbean/OpenMBeanConstructorInfo.java, * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java, * javax/management/openmbean/OpenMBeanInfo.java, * javax/management/openmbean/OpenMBeanInfoSupport.java, * javax/management/openmbean/OpenMBeanOperationInfo.java, * javax/management/openmbean/OpenMBeanOperationInfoSupport.java, * javax/management/openmbean/OpenMBeanParameterInfo.java, * javax/management/openmbean/OpenMBeanParameterInfoSupport.java, * javax/management/openmbean/OpenType.java, * javax/management/openmbean/SimpleType.java, * javax/management/openmbean/TabularData.java, * javax/management/openmbean/TabularDataSupport.java, * javax/management/openmbean/TabularType.java, * javax/management/remote/NotificationResult.java, * javax/management/remote/TargetedNotification.java, * javax/management/remote/rmi/RMIConnection.java, * javax/naming/AuthenticationException.java, * javax/naming/AuthenticationNotSupportedException.java, * javax/naming/BinaryRefAddr.java, * javax/naming/Binding.java, * javax/naming/CannotProceedException.java, * javax/naming/CommunicationException.java, * javax/naming/CompositeName.java, * javax/naming/CompoundName.java, * javax/naming/ConfigurationException.java, * javax/naming/Context.java, * javax/naming/ContextNotEmptyException.java, * javax/naming/InitialContext.java, * javax/naming/InsufficientResourcesException.java, * javax/naming/InterruptedNamingException.java, * javax/naming/InvalidNameException.java, * javax/naming/LimitExceededException.java, * javax/naming/LinkException.java, * javax/naming/LinkLoopException.java, * javax/naming/MalformedLinkException.java, * javax/naming/Name.java, * javax/naming/NameAlreadyBoundException.java, * javax/naming/NameClassPair.java, * javax/naming/NameNotFoundException.java, * javax/naming/NameParser.java, * javax/naming/NamingEnumeration.java, * javax/naming/NamingException.java, * javax/naming/NamingSecurityException.java, * javax/naming/NoInitialContextException.java, * javax/naming/NoPermissionException.java, * javax/naming/NotContextException.java, * javax/naming/PartialResultException.java, * javax/naming/RefAddr.java, * javax/naming/Reference.java, * javax/naming/Referenceable.java, * javax/naming/ReferralException.java, * javax/naming/ServiceUnavailableException.java, * javax/naming/SizeLimitExceededException.java, * javax/naming/StringRefAddr.java, * javax/naming/TimeLimitExceededException.java, * javax/naming/directory/AttributeInUseException.java, * javax/naming/directory/Attributes.java, * javax/naming/directory/BasicAttribute.java, * javax/naming/directory/BasicAttributes.java, * javax/naming/directory/InitialDirContext.java, * javax/naming/directory/ModificationItem.java, * javax/naming/directory/SearchControls.java, * javax/naming/directory/SearchResult.java, * javax/naming/event/EventContext.java, * javax/naming/event/NamespaceChangeListener.java, * javax/naming/event/NamingEvent.java, * javax/naming/event/NamingExceptionEvent.java, * javax/naming/event/NamingListener.java, * javax/naming/event/ObjectChangeListener.java, * javax/naming/ldap/Control.java, * javax/naming/ldap/ControlFactory.java, * javax/naming/ldap/ExtendedRequest.java, * javax/naming/ldap/ExtendedResponse.java, * javax/naming/ldap/HasControls.java, * javax/naming/ldap/InitialLdapContext.java, * javax/naming/ldap/LdapContext.java, * javax/naming/ldap/LdapReferralException.java, * javax/naming/ldap/StartTlsRequest.java, * javax/naming/ldap/UnsolicitedNotification.java, * javax/naming/ldap/UnsolicitedNotificationEvent.java, * javax/naming/ldap/UnsolicitedNotificationListener.java, * javax/naming/spi/DirObjectFactory.java, * javax/naming/spi/DirStateFactory.java, * javax/naming/spi/DirectoryManager.java, * javax/naming/spi/InitialContextFactory.java, * javax/naming/spi/InitialContextFactoryBuilder.java, * javax/naming/spi/NamingManager.java, * javax/naming/spi/ObjectFactory.java, * javax/naming/spi/ObjectFactoryBuilder.java, * javax/naming/spi/ResolveResult.java, * javax/naming/spi/Resolver.java, * javax/naming/spi/StateFactory.java, * javax/net/ssl/CertPathTrustManagerParameters.java, * javax/net/ssl/KeyManagerFactory.java, * javax/net/ssl/KeyStoreBuilderParameters.java, * javax/net/ssl/SSLContext.java, * javax/net/ssl/SSLEngine.java, * javax/net/ssl/SSLEngineResult.java, * javax/net/ssl/SSLException.java, * javax/net/ssl/TrustManagerFactory.java, * javax/net/ssl/X509ExtendedKeyManager.java, * javax/print/AttributeException.java, * javax/print/CancelablePrintJob.java, * javax/print/Doc.java, * javax/print/DocFlavor.java, * javax/print/DocPrintJob.java, * javax/print/FlavorException.java, * javax/print/MultiDoc.java, * javax/print/MultiDocPrintJob.java, * javax/print/MultiDocPrintService.java, * javax/print/PrintException.java, * javax/print/PrintService.java, * javax/print/PrintServiceLookup.java, * javax/print/ServiceUI.java, * javax/print/ServiceUIFactory.java, * javax/print/SimpleDoc.java, * javax/print/StreamPrintService.java, * javax/print/StreamPrintServiceFactory.java, * javax/print/URIException.java, * javax/print/attribute/Attribute.java, * javax/print/attribute/AttributeSet.java, * javax/print/attribute/AttributeSetUtilities.java, * javax/print/attribute/DateTimeSyntax.java, * javax/print/attribute/DocAttribute.java, * javax/print/attribute/DocAttributeSet.java, * javax/print/attribute/EnumSyntax.java, * javax/print/attribute/HashAttributeSet.java, * javax/print/attribute/HashDocAttributeSet.java, * javax/print/attribute/HashPrintJobAttributeSet.java, * javax/print/attribute/HashPrintRequestAttributeSet.java, * javax/print/attribute/HashPrintServiceAttributeSet.java, * javax/print/attribute/IntegerSyntax.java, * javax/print/attribute/PrintJobAttribute.java, * javax/print/attribute/PrintJobAttributeSet.java, * javax/print/attribute/PrintRequestAttribute.java, * javax/print/attribute/PrintRequestAttributeSet.java, * javax/print/attribute/PrintServiceAttribute.java, * javax/print/attribute/PrintServiceAttributeSet.java, * javax/print/attribute/ResolutionSyntax.java, * javax/print/attribute/SetOfIntegerSyntax.java, * javax/print/attribute/Size2DSyntax.java, * javax/print/attribute/SupportedValuesAttribute.java, * javax/print/attribute/TextSyntax.java, * javax/print/attribute/URISyntax.java, * javax/print/attribute/UnmodifiableSetException.java, * javax/print/attribute/standard/Chromaticity.java, * javax/print/attribute/standard/ColorSupported.java, * javax/print/attribute/standard/Compression.java, * javax/print/attribute/standard/Copies.java, * javax/print/attribute/standard/CopiesSupported.java, * javax/print/attribute/standard/DateTimeAtCompleted.java, * javax/print/attribute/standard/DateTimeAtCreation.java, * javax/print/attribute/standard/DateTimeAtProcessing.java, * javax/print/attribute/standard/Destination.java, * javax/print/attribute/standard/DocumentName.java, * javax/print/attribute/standard/Fidelity.java, * javax/print/attribute/standard/Finishings.java, * javax/print/attribute/standard/JobHoldUntil.java, * javax/print/attribute/standard/JobImpressions.java, * javax/print/attribute/standard/JobImpressionsCompleted.java, * javax/print/attribute/standard/JobImpressionsSupported.java, * javax/print/attribute/standard/JobKOctets.java, * javax/print/attribute/standard/JobKOctetsProcessed.java, * javax/print/attribute/standard/JobKOctetsSupported.java, * javax/print/attribute/standard/JobMediaSheets.java, * javax/print/attribute/standard/JobMediaSheetsCompleted.java, * javax/print/attribute/standard/JobMediaSheetsSupported.java, * javax/print/attribute/standard/JobMessageFromOperator.java, * javax/print/attribute/standard/JobName.java, * javax/print/attribute/standard/JobOriginatingUserName.java, * javax/print/attribute/standard/JobPriority.java, * javax/print/attribute/standard/JobPrioritySupported.java, * javax/print/attribute/standard/JobSheets.java, * javax/print/attribute/standard/JobState.java, * javax/print/attribute/standard/JobStateReason.java, * javax/print/attribute/standard/JobStateReasons.java, * javax/print/attribute/standard/Media.java, * javax/print/attribute/standard/MediaName.java, * javax/print/attribute/standard/MediaPrintableArea.java, * javax/print/attribute/standard/MediaSize.java, * javax/print/attribute/standard/MediaSizeName.java, * javax/print/attribute/standard/MediaTray.java, * javax/print/attribute/standard/MultipleDocumentHandling.java, * javax/print/attribute/standard/NumberOfDocuments.java, * javax/print/attribute/standard/NumberOfInterveningJobs.java, * javax/print/attribute/standard/NumberUp.java, * javax/print/attribute/standard/NumberUpSupported.java, * javax/print/attribute/standard/OrientationRequested.java, * javax/print/attribute/standard/OutputDeviceAssigned.java, * javax/print/attribute/standard/PDLOverrideSupported.java, * javax/print/attribute/standard/PageRanges.java, * javax/print/attribute/standard/PagesPerMinute.java, * javax/print/attribute/standard/PagesPerMinuteColor.java, * javax/print/attribute/standard/PresentationDirection.java, * javax/print/attribute/standard/PrintQuality.java, * javax/print/attribute/standard/PrinterInfo.java, * javax/print/attribute/standard/PrinterIsAcceptingJobs.java, * javax/print/attribute/standard/PrinterLocation.java, * javax/print/attribute/standard/PrinterMakeAndModel.java, * javax/print/attribute/standard/PrinterMessageFromOperator.java, * javax/print/attribute/standard/PrinterMoreInfo.java, * javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, * javax/print/attribute/standard/PrinterName.java, * javax/print/attribute/standard/PrinterResolution.java, * javax/print/attribute/standard/PrinterState.java, * javax/print/attribute/standard/PrinterStateReason.java, * javax/print/attribute/standard/PrinterStateReasons.java, * javax/print/attribute/standard/PrinterURI.java, * javax/print/attribute/standard/QueuedJobCount.java, * javax/print/attribute/standard/ReferenceUriSchemesSupported.java, * javax/print/attribute/standard/RequestingUserName.java, * javax/print/attribute/standard/Severity.java, * javax/print/attribute/standard/SheetCollate.java, * javax/print/attribute/standard/Sides.java, * javax/print/event/PrintEvent.java, * javax/print/event/PrintJobAdapter.java, * javax/print/event/PrintJobAttributeEvent.java, * javax/print/event/PrintJobAttributeListener.java, * javax/print/event/PrintJobEvent.java, * javax/print/event/PrintJobListener.java, * javax/print/event/PrintServiceAttributeEvent.java, * javax/print/event/PrintServiceAttributeListener.java, * javax/rmi/CORBA/ClassDesc.java, * javax/rmi/CORBA/PortableRemoteObjectDelegate.java, * javax/rmi/CORBA/Stub.java, * javax/rmi/CORBA/StubDelegate.java, * javax/rmi/CORBA/Tie.java, * javax/rmi/CORBA/Util.java, * javax/rmi/CORBA/UtilDelegate.java, * javax/rmi/CORBA/ValueHandler.java, * javax/rmi/CORBA/ValueHandlerMultiFormat.java, * javax/rmi/PortableRemoteObject.java, * javax/rmi/ssl/SslRMIClientSocketFactory.java, * javax/rmi/ssl/SslRMIServerSocketFactory.java, * javax/security/auth/Subject.java, * javax/security/auth/callback/ChoiceCallback.java, * javax/security/auth/callback/ConfirmationCallback.java, * javax/security/auth/callback/NameCallback.java, * javax/security/auth/callback/PasswordCallback.java, * javax/security/auth/callback/TextInputCallback.java, * javax/security/auth/callback/TextOutputCallback.java, * javax/security/auth/kerberos/DelegationPermission.java, * javax/security/auth/kerberos/KerberosKey.java, * javax/security/auth/kerberos/KerberosPrincipal.java, * javax/security/auth/kerberos/ServicePermission.java, * javax/security/auth/login/AccountNotFoundException.java, * javax/security/auth/login/AppConfigurationEntry.java, * javax/security/auth/login/LoginContext.java, * javax/security/sasl/Sasl.java, * javax/sound/midi/ControllerEventListener.java, * javax/sound/midi/Instrument.java, * javax/sound/midi/InvalidMidiDataException.java, * javax/sound/midi/MetaEventListener.java, * javax/sound/midi/MetaMessage.java, * javax/sound/midi/MidiChannel.java, * javax/sound/midi/MidiDevice.java, * javax/sound/midi/MidiEvent.java, * javax/sound/midi/MidiFileFormat.java, * javax/sound/midi/MidiMessage.java, * javax/sound/midi/MidiSystem.java, * javax/sound/midi/MidiUnavailableException.java, * javax/sound/midi/Patch.java, * javax/sound/midi/Receiver.java, * javax/sound/midi/Sequence.java, * javax/sound/midi/Sequencer.java, * javax/sound/midi/ShortMessage.java, * javax/sound/midi/Soundbank.java, * javax/sound/midi/SoundbankResource.java, * javax/sound/midi/Synthesizer.java, * javax/sound/midi/SysexMessage.java, * javax/sound/midi/Track.java, * javax/sound/midi/Transmitter.java, * javax/sound/midi/VoiceStatus.java, * javax/sound/midi/spi/MidiDeviceProvider.java, * javax/sound/midi/spi/MidiFileReader.java, * javax/sound/midi/spi/MidiFileWriter.java, * javax/sound/midi/spi/SoundbankReader.java, * javax/sound/sampled/AudioFileFormat.java, * javax/sound/sampled/AudioFormat.java, * javax/sound/sampled/AudioInputStream.java, * javax/sound/sampled/AudioPermission.java, * javax/sound/sampled/AudioSystem.java, * javax/sound/sampled/BooleanControl.java, * javax/sound/sampled/Clip.java, * javax/sound/sampled/CompoundControl.java, * javax/sound/sampled/DataLine.java, * javax/sound/sampled/EnumControl.java, * javax/sound/sampled/FloatControl.java, * javax/sound/sampled/Line.java, * javax/sound/sampled/LineEvent.java, * javax/sound/sampled/LineUnavailableException.java, * javax/sound/sampled/Mixer.java, * javax/sound/sampled/Port.java, * javax/sound/sampled/ReverbType.java, * javax/sound/sampled/UnsupportedAudioFileException.java, * javax/sound/sampled/spi/AudioFileReader.java, * javax/sound/sampled/spi/AudioFileWriter.java, * javax/sound/sampled/spi/FormatConversionProvider.java, * javax/sql/ConnectionEvent.java, * javax/sql/ConnectionEventListener.java, * javax/sql/ConnectionPoolDataSource.java, * javax/sql/DataSource.java, * javax/sql/PooledConnection.java, * javax/sql/RowSet.java, * javax/sql/RowSetEvent.java, * javax/sql/RowSetInternal.java, * javax/sql/RowSetListener.java, * javax/sql/RowSetMetaData.java, * javax/sql/RowSetReader.java, * javax/sql/RowSetWriter.java, * javax/sql/XAConnection.java, * javax/sql/XADataSource.java, * javax/swing/AbstractAction.java, * javax/swing/AbstractButton.java, * javax/swing/AbstractCellEditor.java, * javax/swing/AbstractListModel.java, * javax/swing/AbstractSpinnerModel.java, * javax/swing/Action.java, * javax/swing/BorderFactory.java, * javax/swing/BoundedRangeModel.java, * javax/swing/Box.java, * javax/swing/BoxLayout.java, * javax/swing/ButtonGroup.java, * javax/swing/ButtonModel.java, * javax/swing/CellEditor.java, * javax/swing/CellRendererPane.java, * javax/swing/ComboBoxModel.java, * javax/swing/ComponentInputMap.java, * javax/swing/DebugGraphics.java, * javax/swing/DefaultBoundedRangeModel.java, * javax/swing/DefaultButtonModel.java, * javax/swing/DefaultCellEditor.java, * javax/swing/DefaultComboBoxModel.java, * javax/swing/DefaultDesktopManager.java, * javax/swing/DefaultFocusManager.java, * javax/swing/DefaultListModel.java, * javax/swing/DefaultListSelectionModel.java, * javax/swing/DefaultSingleSelectionModel.java, * javax/swing/FocusManager.java, * javax/swing/GrayFilter.java, * javax/swing/Icon.java, * javax/swing/ImageIcon.java, * javax/swing/InputMap.java, * javax/swing/InternalFrameFocusTraversalPolicy.java, * javax/swing/JApplet.java, * javax/swing/JButton.java, * javax/swing/JCheckBox.java, * javax/swing/JCheckBoxMenuItem.java, * javax/swing/JComboBox.java, * javax/swing/JComponent.java, * javax/swing/JDesktopPane.java, * javax/swing/JDialog.java, * javax/swing/JEditorPane.java, * javax/swing/JFileChooser.java, * javax/swing/JFormattedTextField.java, * javax/swing/JFrame.java, * javax/swing/JInternalFrame.java, * javax/swing/JLabel.java, * javax/swing/JLayeredPane.java, * javax/swing/JList.java, * javax/swing/JMenu.java, * javax/swing/JMenuBar.java, * javax/swing/JMenuItem.java, * javax/swing/JOptionPane.java, * javax/swing/JPanel.java, * javax/swing/JPasswordField.java, * javax/swing/JPopupMenu.java, * javax/swing/JProgressBar.java, * javax/swing/JRadioButton.java, * javax/swing/JRadioButtonMenuItem.java, * javax/swing/JRootPane.java, * javax/swing/JScrollBar.java, * javax/swing/JScrollPane.java, * javax/swing/JSeparator.java, * javax/swing/JSlider.java, * javax/swing/JSpinner.java, * javax/swing/JSplitPane.java, * javax/swing/JTabbedPane.java, * javax/swing/JTable.java, * javax/swing/JTextArea.java, * javax/swing/JTextField.java, * javax/swing/JTextPane.java, * javax/swing/JToggleButton.java, * javax/swing/JToolBar.java, * javax/swing/JToolTip.java, * javax/swing/JTree.java, * javax/swing/JViewport.java, * javax/swing/JWindow.java, * javax/swing/KeyStroke.java, * javax/swing/KeyboardManager.java, * javax/swing/LayoutFocusTraversalPolicy.java, * javax/swing/ListCellRenderer.java, * javax/swing/ListSelectionModel.java, * javax/swing/LookAndFeel.java, * javax/swing/MenuSelectionManager.java, * javax/swing/OverlayLayout.java, * javax/swing/Popup.java, * javax/swing/PopupFactory.java, * javax/swing/ProgressMonitor.java, * javax/swing/ProgressMonitorInputStream.java, * javax/swing/Renderer.java, * javax/swing/RepaintManager.java, * javax/swing/ScrollPaneLayout.java, * javax/swing/Scrollable.java, * javax/swing/SingleSelectionModel.java, * javax/swing/SizeRequirements.java, * javax/swing/SizeSequence.java, * javax/swing/SortingFocusTraversalPolicy.java, * javax/swing/SpinnerDateModel.java, * javax/swing/SpinnerListModel.java, * javax/swing/SpinnerModel.java, * javax/swing/SpinnerNumberModel.java, * javax/swing/Spring.java, * javax/swing/SpringLayout.java, * javax/swing/SwingConstants.java, * javax/swing/SwingUtilities.java, * javax/swing/Timer.java, * javax/swing/ToolTipManager.java, * javax/swing/TransferHandler.java, * javax/swing/UIDefaults.java, * javax/swing/UIManager.java, * javax/swing/UnsupportedLookAndFeelException.java, * javax/swing/ViewportLayout.java, * javax/swing/WindowConstants.java, * javax/swing/border/AbstractBorder.java, * javax/swing/border/BevelBorder.java, * javax/swing/border/Border.java, * javax/swing/border/CompoundBorder.java, * javax/swing/border/EmptyBorder.java, * javax/swing/border/EtchedBorder.java, * javax/swing/border/LineBorder.java, * javax/swing/border/MatteBorder.java, * javax/swing/border/SoftBevelBorder.java, * javax/swing/border/TitledBorder.java, * javax/swing/colorchooser/AbstractColorChooserPanel.java, * javax/swing/colorchooser/ColorChooserComponentFactory.java, * javax/swing/colorchooser/ColorSelectionModel.java, * javax/swing/colorchooser/DefaultColorSelectionModel.java, * javax/swing/colorchooser/DefaultHSBChooserPanel.java, * javax/swing/colorchooser/DefaultRGBChooserPanel.java, * javax/swing/colorchooser/DefaultSwatchChooserPanel.java, * javax/swing/event/AncestorEvent.java, * javax/swing/event/AncestorListener.java, * javax/swing/event/CaretEvent.java, * javax/swing/event/CaretListener.java, * javax/swing/event/CellEditorListener.java, * javax/swing/event/ChangeEvent.java, * javax/swing/event/ChangeListener.java, * javax/swing/event/DocumentEvent.java, * javax/swing/event/DocumentListener.java, * javax/swing/event/EventListenerList.java, * javax/swing/event/HyperlinkEvent.java, * javax/swing/event/HyperlinkListener.java, * javax/swing/event/InternalFrameAdapter.java, * javax/swing/event/InternalFrameEvent.java, * javax/swing/event/InternalFrameListener.java, * javax/swing/event/ListDataEvent.java, * javax/swing/event/ListDataListener.java, * javax/swing/event/ListSelectionEvent.java, * javax/swing/event/ListSelectionListener.java, * javax/swing/event/MenuDragMouseEvent.java, * javax/swing/event/MenuDragMouseListener.java, * javax/swing/event/MenuEvent.java, * javax/swing/event/MenuKeyEvent.java, * javax/swing/event/MenuKeyListener.java, * javax/swing/event/MenuListener.java, * javax/swing/event/MouseInputListener.java, * javax/swing/event/PopupMenuEvent.java, * javax/swing/event/PopupMenuListener.java, * javax/swing/event/SwingPropertyChangeSupport.java, * javax/swing/event/TableColumnModelEvent.java, * javax/swing/event/TableColumnModelListener.java, * javax/swing/event/TableModelEvent.java, * javax/swing/event/TableModelListener.java, * javax/swing/event/TreeExpansionEvent.java, * javax/swing/event/TreeExpansionListener.java, * javax/swing/event/TreeModelEvent.java, * javax/swing/event/TreeModelListener.java, * javax/swing/event/TreeSelectionEvent.java, * javax/swing/event/TreeSelectionListener.java, * javax/swing/event/TreeWillExpandListener.java, * javax/swing/event/UndoableEditEvent.java, * javax/swing/filechooser/FileFilter.java, * javax/swing/filechooser/FileSystemView.java, * javax/swing/filechooser/FileView.java, * javax/swing/filechooser/UnixFileSystemView.java, * javax/swing/plaf/BorderUIResource.java, * javax/swing/plaf/ColorChooserUI.java, * javax/swing/plaf/ColorUIResource.java, * javax/swing/plaf/ComboBoxUI.java, * javax/swing/plaf/ComponentInputMapUIResource.java, * javax/swing/plaf/ComponentUI.java, * javax/swing/plaf/FileChooserUI.java, * javax/swing/plaf/IconUIResource.java, * javax/swing/plaf/SplitPaneUI.java, * javax/swing/plaf/TabbedPaneUI.java, * javax/swing/plaf/TextUI.java, * javax/swing/plaf/UIResource.java, * javax/swing/plaf/basic/BasicArrowButton.java, * javax/swing/plaf/basic/BasicBorders.java, * javax/swing/plaf/basic/BasicButtonListener.java, * javax/swing/plaf/basic/BasicButtonUI.java, * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java, * javax/swing/plaf/basic/BasicCheckBoxUI.java, * javax/swing/plaf/basic/BasicColorChooserUI.java, * javax/swing/plaf/basic/BasicComboBoxEditor.java, * javax/swing/plaf/basic/BasicComboBoxRenderer.java, * javax/swing/plaf/basic/BasicComboBoxUI.java, * javax/swing/plaf/basic/BasicComboPopup.java, * javax/swing/plaf/basic/BasicDesktopIconUI.java, * javax/swing/plaf/basic/BasicDesktopPaneUI.java, * javax/swing/plaf/basic/BasicDirectoryModel.java, * javax/swing/plaf/basic/BasicEditorPaneUI.java, * javax/swing/plaf/basic/BasicFileChooserUI.java, * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java, * javax/swing/plaf/basic/BasicGraphicsUtils.java, * javax/swing/plaf/basic/BasicHTML.java, * javax/swing/plaf/basic/BasicIconFactory.java, * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java, * javax/swing/plaf/basic/BasicInternalFrameUI.java, * javax/swing/plaf/basic/BasicLabelUI.java, * javax/swing/plaf/basic/BasicListUI.java, * javax/swing/plaf/basic/BasicLookAndFeel.java, * javax/swing/plaf/basic/BasicMenuBarUI.java, * javax/swing/plaf/basic/BasicMenuItemUI.java, * javax/swing/plaf/basic/BasicMenuUI.java, * javax/swing/plaf/basic/BasicOptionPaneUI.java, * javax/swing/plaf/basic/BasicPanelUI.java, * javax/swing/plaf/basic/BasicPasswordFieldUI.java, * javax/swing/plaf/basic/BasicPopupMenuUI.java, * javax/swing/plaf/basic/BasicProgressBarUI.java, * javax/swing/plaf/basic/BasicRadioButtonUI.java, * javax/swing/plaf/basic/BasicRootPaneUI.java, * javax/swing/plaf/basic/BasicScrollBarUI.java, * javax/swing/plaf/basic/BasicScrollPaneUI.java, * javax/swing/plaf/basic/BasicSeparatorUI.java, * javax/swing/plaf/basic/BasicSliderUI.java, * javax/swing/plaf/basic/BasicSpinnerUI.java, * javax/swing/plaf/basic/BasicSplitPaneDivider.java, * javax/swing/plaf/basic/BasicSplitPaneUI.java, * javax/swing/plaf/basic/BasicTabbedPaneUI.java, * javax/swing/plaf/basic/BasicTableHeaderUI.java, * javax/swing/plaf/basic/BasicTableUI.java, * javax/swing/plaf/basic/BasicTextAreaUI.java, * javax/swing/plaf/basic/BasicTextFieldUI.java, * javax/swing/plaf/basic/BasicTextPaneUI.java, * javax/swing/plaf/basic/BasicTextUI.java, * javax/swing/plaf/basic/BasicToggleButtonUI.java, * javax/swing/plaf/basic/BasicToolBarUI.java, * javax/swing/plaf/basic/BasicToolTipUI.java, * javax/swing/plaf/basic/BasicTreeUI.java, * javax/swing/plaf/basic/BasicViewportUI.java, * javax/swing/plaf/metal/DefaultMetalTheme.java, * javax/swing/plaf/metal/MetalBorders.java, * javax/swing/plaf/metal/MetalButtonListener.java, * javax/swing/plaf/metal/MetalButtonUI.java, * javax/swing/plaf/metal/MetalCheckBoxIcon.java, * javax/swing/plaf/metal/MetalCheckBoxUI.java, * javax/swing/plaf/metal/MetalComboBoxButton.java, * javax/swing/plaf/metal/MetalComboBoxEditor.java, * javax/swing/plaf/metal/MetalComboBoxIcon.java, * javax/swing/plaf/metal/MetalComboBoxUI.java, * javax/swing/plaf/metal/MetalFileChooserUI.java, * javax/swing/plaf/metal/MetalIconFactory.java, * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java, * javax/swing/plaf/metal/MetalInternalFrameUI.java, * javax/swing/plaf/metal/MetalLabelUI.java, * javax/swing/plaf/metal/MetalLookAndFeel.java, * javax/swing/plaf/metal/MetalMenuBarUI.java, * javax/swing/plaf/metal/MetalProgressBarUI.java, * javax/swing/plaf/metal/MetalRadioButtonUI.java, * javax/swing/plaf/metal/MetalRootPaneUI.java, * javax/swing/plaf/metal/MetalScrollBarUI.java, * javax/swing/plaf/metal/MetalScrollButton.java, * javax/swing/plaf/metal/MetalScrollPaneUI.java, * javax/swing/plaf/metal/MetalSeparatorUI.java, * javax/swing/plaf/metal/MetalSliderUI.java, * javax/swing/plaf/metal/MetalSplitPaneDivider.java, * javax/swing/plaf/metal/MetalSplitPaneUI.java, * javax/swing/plaf/metal/MetalTabbedPaneUI.java, * javax/swing/plaf/metal/MetalTextFieldUI.java, * javax/swing/plaf/metal/MetalTheme.java, * javax/swing/plaf/metal/MetalToggleButtonUI.java, * javax/swing/plaf/metal/MetalToolBarUI.java, * javax/swing/plaf/metal/MetalToolTipUI.java, * javax/swing/plaf/metal/MetalTreeUI.java, * javax/swing/plaf/metal/MetalUtils.java, * javax/swing/plaf/metal/OceanTheme.java, * javax/swing/plaf/multi/MultiButtonUI.java, * javax/swing/plaf/multi/MultiColorChooserUI.java, * javax/swing/plaf/multi/MultiComboBoxUI.java, * javax/swing/plaf/multi/MultiDesktopIconUI.java, * javax/swing/plaf/multi/MultiDesktopPaneUI.java, * javax/swing/plaf/multi/MultiFileChooserUI.java, * javax/swing/plaf/multi/MultiInternalFrameUI.java, * javax/swing/plaf/multi/MultiLabelUI.java, * javax/swing/plaf/multi/MultiListUI.java, * javax/swing/plaf/multi/MultiLookAndFeel.java, * javax/swing/plaf/multi/MultiMenuBarUI.java, * javax/swing/plaf/multi/MultiMenuItemUI.java, * javax/swing/plaf/multi/MultiOptionPaneUI.java, * javax/swing/plaf/multi/MultiPanelUI.java, * javax/swing/plaf/multi/MultiPopupMenuUI.java, * javax/swing/plaf/multi/MultiProgressBarUI.java, * javax/swing/plaf/multi/MultiRootPaneUI.java, * javax/swing/plaf/multi/MultiScrollBarUI.java, * javax/swing/plaf/multi/MultiScrollPaneUI.java, * javax/swing/plaf/multi/MultiSeparatorUI.java, * javax/swing/plaf/multi/MultiSliderUI.java, * javax/swing/plaf/multi/MultiSpinnerUI.java, * javax/swing/plaf/multi/MultiSplitPaneUI.java, * javax/swing/plaf/multi/MultiTabbedPaneUI.java, * javax/swing/plaf/multi/MultiTableHeaderUI.java, * javax/swing/plaf/multi/MultiTableUI.java, * javax/swing/plaf/multi/MultiTextUI.java, * javax/swing/plaf/multi/MultiToolBarUI.java, * javax/swing/plaf/multi/MultiToolTipUI.java, * javax/swing/plaf/multi/MultiTreeUI.java, * javax/swing/plaf/multi/MultiViewportUI.java, * javax/swing/plaf/synth/SynthGraphicsUtils.java, * javax/swing/plaf/synth/SynthLookAndFeel.java, * javax/swing/plaf/synth/SynthPainter.java, * javax/swing/table/AbstractTableModel.java, * javax/swing/table/DefaultTableCellRenderer.java, * javax/swing/table/DefaultTableColumnModel.java, * javax/swing/table/DefaultTableModel.java, * javax/swing/table/JTableHeader.java, * javax/swing/table/TableCellEditor.java, * javax/swing/table/TableCellRenderer.java, * javax/swing/table/TableColumn.java, * javax/swing/table/TableColumnModel.java, * javax/swing/table/TableModel.java, * javax/swing/text/AbstractDocument.java, * javax/swing/text/AbstractWriter.java, * javax/swing/text/AsyncBoxView.java, * javax/swing/text/AttributeSet.java, * javax/swing/text/BoxView.java, * javax/swing/text/Caret.java, * javax/swing/text/ComponentView.java, * javax/swing/text/CompositeView.java, * javax/swing/text/DefaultCaret.java, * javax/swing/text/DefaultEditorKit.java, * javax/swing/text/DefaultFormatter.java, * javax/swing/text/DefaultFormatterFactory.java, * javax/swing/text/DefaultHighlighter.java, * javax/swing/text/DefaultStyledDocument.java, * javax/swing/text/DocumentFilter.java, * javax/swing/text/EditorKit.java, * javax/swing/text/Element.java, * javax/swing/text/ElementIterator.java, * javax/swing/text/EmptyAttributeSet.java, * javax/swing/text/FieldView.java, * javax/swing/text/FlowView.java, * javax/swing/text/GapContent.java, * javax/swing/text/GlyphView.java, * javax/swing/text/Highlighter.java, * javax/swing/text/InternationalFormatter.java, * javax/swing/text/JTextComponent.java, * javax/swing/text/Keymap.java, * javax/swing/text/LayeredHighlighter.java, * javax/swing/text/LayoutQueue.java, * javax/swing/text/MaskFormatter.java, * javax/swing/text/MutableAttributeSet.java, * javax/swing/text/NavigationFilter.java, * javax/swing/text/NumberFormatter.java, * javax/swing/text/ParagraphView.java, * javax/swing/text/PasswordView.java, * javax/swing/text/PlainDocument.java, * javax/swing/text/PlainView.java, * javax/swing/text/Position.java, * javax/swing/text/Segment.java, * javax/swing/text/SimpleAttributeSet.java, * javax/swing/text/StringContent.java, * javax/swing/text/Style.java, * javax/swing/text/StyleConstants.java, * javax/swing/text/StyleContext.java, * javax/swing/text/StyledDocument.java, * javax/swing/text/StyledEditorKit.java, * javax/swing/text/TabExpander.java, * javax/swing/text/TabSet.java, * javax/swing/text/TabStop.java, * javax/swing/text/TabableView.java, * javax/swing/text/TableView.java, * javax/swing/text/TextAction.java, * javax/swing/text/Utilities.java, * javax/swing/text/View.java, * javax/swing/text/ViewFactory.java, * javax/swing/text/WrappedPlainView.java, * javax/swing/text/html/BRView.java, * javax/swing/text/html/BlockView.java, * javax/swing/text/html/CSS.java, * javax/swing/text/html/CSSBorder.java, * javax/swing/text/html/CSSParser.java, * javax/swing/text/html/FormView.java, * javax/swing/text/html/HRuleView.java, * javax/swing/text/html/HTMLDocument.java, * javax/swing/text/html/HTMLEditorKit.java, * javax/swing/text/html/HTMLWriter.java, * javax/swing/text/html/ImageView.java, * javax/swing/text/html/InlineView.java, * javax/swing/text/html/ListView.java, * javax/swing/text/html/MinimalHTMLWriter.java, * javax/swing/text/html/MultiAttributeSet.java, * javax/swing/text/html/MultiStyle.java, * javax/swing/text/html/ParagraphView.java, * javax/swing/text/html/StyleSheet.java, * javax/swing/text/html/TableView.java, * javax/swing/text/html/ViewAttributeSet.java, * javax/swing/text/html/parser/Entity.java, * javax/swing/text/html/parser/Parser.java, * javax/swing/text/rtf/RTFParser.java, * javax/swing/text/rtf/RTFScanner.java, * javax/swing/tree/AbstractLayoutCache.java, * javax/swing/tree/DefaultMutableTreeNode.java, * javax/swing/tree/DefaultTreeCellEditor.java, * javax/swing/tree/DefaultTreeCellRenderer.java, * javax/swing/tree/DefaultTreeModel.java, * javax/swing/tree/DefaultTreeSelectionModel.java, * javax/swing/tree/ExpandVetoException.java, * javax/swing/tree/FixedHeightLayoutCache.java, * javax/swing/tree/MutableTreeNode.java, * javax/swing/tree/RowMapper.java, * javax/swing/tree/TreeCellEditor.java, * javax/swing/tree/TreeCellRenderer.java, * javax/swing/tree/TreeNode.java, * javax/swing/tree/TreePath.java, * javax/swing/tree/TreeSelectionModel.java, * javax/swing/tree/VariableHeightLayoutCache.java, * javax/swing/undo/AbstractUndoableEdit.java, * javax/swing/undo/CompoundEdit.java, * javax/swing/undo/StateEdit.java, * javax/swing/undo/UndoManager.java, * javax/swing/undo/UndoableEdit.java, * javax/tools/FileObject.java, * javax/transaction/HeuristicCommitException.java, * javax/transaction/HeuristicMixedException.java, * javax/transaction/HeuristicRollbackException.java, * javax/transaction/InvalidTransactionException.java, * javax/transaction/NotSupportedException.java, * javax/transaction/RollbackException.java, * javax/transaction/Status.java, * javax/transaction/Synchronization.java, * javax/transaction/SystemException.java, * javax/transaction/Transaction.java, * javax/transaction/TransactionManager.java, * javax/transaction/TransactionRequiredException.java, * javax/transaction/TransactionRolledbackException.java, * javax/transaction/UserTransaction.java, * javax/transaction/xa/XAException.java, * javax/transaction/xa/XAResource.java, * javax/transaction/xa/Xid.java, * javax/xml/XMLConstants.java, * javax/xml/datatype/DatatypeConfigurationException.java, * javax/xml/datatype/DatatypeConstants.java, * javax/xml/datatype/DatatypeFactory.java, * javax/xml/datatype/Duration.java, * javax/xml/datatype/XMLGregorianCalendar.java, * javax/xml/namespace/NamespaceContext.java, * javax/xml/namespace/QName.java, * javax/xml/parsers/DocumentBuilder.java, * javax/xml/parsers/DocumentBuilderFactory.java, * javax/xml/parsers/FactoryConfigurationError.java, * javax/xml/parsers/ParserConfigurationException.java, * javax/xml/parsers/SAXParser.java, * javax/xml/parsers/SAXParserFactory.java, * javax/xml/stream/EventFilter.java, * javax/xml/stream/FactoryConfigurationError.java, * javax/xml/stream/Location.java, * javax/xml/stream/StreamFilter.java, * javax/xml/stream/XMLEventFactory.java, * javax/xml/stream/XMLEventReader.java, * javax/xml/stream/XMLEventWriter.java, * javax/xml/stream/XMLInputFactory.java, * javax/xml/stream/XMLOutputFactory.java, * javax/xml/stream/XMLReporter.java, * javax/xml/stream/XMLResolver.java, * javax/xml/stream/XMLStreamConstants.java, * javax/xml/stream/XMLStreamException.java, * javax/xml/stream/XMLStreamReader.java, * javax/xml/stream/XMLStreamWriter.java, * javax/xml/stream/events/Attribute.java, * javax/xml/stream/events/Characters.java, * javax/xml/stream/events/Comment.java, * javax/xml/stream/events/DTD.java, * javax/xml/stream/events/EndDocument.java, * javax/xml/stream/events/EndElement.java, * javax/xml/stream/events/EntityDeclaration.java, * javax/xml/stream/events/EntityReference.java, * javax/xml/stream/events/Namespace.java, * javax/xml/stream/events/NotationDeclaration.java, * javax/xml/stream/events/ProcessingInstruction.java, * javax/xml/stream/events/StartDocument.java, * javax/xml/stream/events/StartElement.java, * javax/xml/stream/events/XMLEvent.java, * javax/xml/stream/util/EventReaderDelegate.java, * javax/xml/stream/util/StreamReaderDelegate.java, * javax/xml/stream/util/XMLEventAllocator.java, * javax/xml/stream/util/XMLEventConsumer.java, * javax/xml/transform/ErrorListener.java, * javax/xml/transform/OutputKeys.java, * javax/xml/transform/Result.java, * javax/xml/transform/Source.java, * javax/xml/transform/SourceLocator.java, * javax/xml/transform/Templates.java, * javax/xml/transform/Transformer.java, * javax/xml/transform/TransformerConfigurationException.java, * javax/xml/transform/TransformerException.java, * javax/xml/transform/TransformerFactory.java, * javax/xml/transform/TransformerFactoryConfigurationError.java, * javax/xml/transform/URIResolver.java, * javax/xml/transform/dom/DOMLocator.java, * javax/xml/transform/dom/DOMResult.java, * javax/xml/transform/dom/DOMSource.java, * javax/xml/transform/sax/SAXResult.java, * javax/xml/transform/sax/SAXSource.java, * javax/xml/transform/sax/SAXTransformerFactory.java, * javax/xml/transform/sax/TemplatesHandler.java, * javax/xml/transform/sax/TransformerHandler.java, * javax/xml/transform/stream/StreamResult.java, * javax/xml/transform/stream/StreamSource.java, * javax/xml/validation/Schema.java, * javax/xml/validation/SchemaFactory.java, * javax/xml/validation/SchemaFactoryLoader.java, * javax/xml/validation/TypeInfoProvider.java, * javax/xml/validation/Validator.java, * javax/xml/validation/ValidatorHandler.java, * javax/xml/xpath/XPath.java, * javax/xml/xpath/XPathConstants.java, * javax/xml/xpath/XPathException.java, * javax/xml/xpath/XPathExpression.java, * javax/xml/xpath/XPathExpressionException.java, * javax/xml/xpath/XPathFactory.java, * javax/xml/xpath/XPathFactoryConfigurationException.java, * javax/xml/xpath/XPathFunction.java, * javax/xml/xpath/XPathFunctionException.java, * javax/xml/xpath/XPathFunctionResolver.java, * javax/xml/xpath/XPathVariableResolver.java, * org/omg/CORBA/ARG_IN.java, * org/omg/CORBA/ARG_INOUT.java, * org/omg/CORBA/ARG_OUT.java, * org/omg/CORBA/AnySeqHolder.java, * org/omg/CORBA/BAD_CONTEXT.java, * org/omg/CORBA/BAD_INV_ORDER.java, * org/omg/CORBA/BAD_OPERATION.java, * org/omg/CORBA/BAD_PARAM.java, * org/omg/CORBA/BAD_POLICY.java, * org/omg/CORBA/BAD_POLICY_TYPE.java, * org/omg/CORBA/BAD_POLICY_VALUE.java, * org/omg/CORBA/BAD_TYPECODE.java, * org/omg/CORBA/COMM_FAILURE.java, * org/omg/CORBA/CTX_RESTRICT_SCOPE.java, * org/omg/CORBA/CompletionStatus.java, * org/omg/CORBA/CompletionStatusHelper.java, * org/omg/CORBA/Context.java, * org/omg/CORBA/Current.java, * org/omg/CORBA/CurrentHelper.java, * org/omg/CORBA/CurrentHolder.java, * org/omg/CORBA/CustomMarshal.java, * org/omg/CORBA/CustomValue.java, * org/omg/CORBA/DATA_CONVERSION.java, * org/omg/CORBA/DataInputStream.java, * org/omg/CORBA/DataOutputStream.java, * org/omg/CORBA/DefinitionKind.java, * org/omg/CORBA/DefinitionKindHelper.java, * org/omg/CORBA/DynamicImplementation.java, * org/omg/CORBA/FREE_MEM.java, * org/omg/CORBA/FieldNameHelper.java, * org/omg/CORBA/IDLTypeHelper.java, * org/omg/CORBA/IMP_LIMIT.java, * org/omg/CORBA/INITIALIZE.java, * org/omg/CORBA/INTERNAL.java, * org/omg/CORBA/INTF_REPOS.java, * org/omg/CORBA/INVALID_TRANSACTION.java, * org/omg/CORBA/INV_FLAG.java, * org/omg/CORBA/INV_IDENT.java, * org/omg/CORBA/INV_OBJREF.java, * org/omg/CORBA/INV_POLICY.java, * org/omg/CORBA/IRObject.java, * org/omg/CORBA/IRObjectOperations.java, * org/omg/CORBA/IdentifierHelper.java, * org/omg/CORBA/LocalObject.java, * org/omg/CORBA/LongSeqHolder.java, * org/omg/CORBA/MARSHAL.java, * org/omg/CORBA/NO_IMPLEMENT.java, * org/omg/CORBA/NO_MEMORY.java, * org/omg/CORBA/NO_PERMISSION.java, * org/omg/CORBA/NO_RESOURCES.java, * org/omg/CORBA/NO_RESPONSE.java, * org/omg/CORBA/NVList.java, * org/omg/CORBA/OBJECT_NOT_EXIST.java, * org/omg/CORBA/OBJ_ADAPTER.java, * org/omg/CORBA/OMGVMCID.java, * org/omg/CORBA/ORB.java, * org/omg/CORBA/ObjectHelper.java, * org/omg/CORBA/ObjectHolder.java, * org/omg/CORBA/PERSIST_STORE.java, * org/omg/CORBA/ParameterMode.java, * org/omg/CORBA/ParameterModeHelper.java, * org/omg/CORBA/PolicyErrorCodeHelper.java, * org/omg/CORBA/PolicyErrorHelper.java, * org/omg/CORBA/PolicyErrorHolder.java, * org/omg/CORBA/PolicyHelper.java, * org/omg/CORBA/PolicyHolder.java, * org/omg/CORBA/PolicyListHelper.java, * org/omg/CORBA/PolicyListHolder.java, * org/omg/CORBA/PolicyOperations.java, * org/omg/CORBA/PolicyTypeHelper.java, * org/omg/CORBA/RepositoryIdHelper.java, * org/omg/CORBA/Request.java, * org/omg/CORBA/ServiceDetailHelper.java, * org/omg/CORBA/ServiceInformationHelper.java, * org/omg/CORBA/SetOverrideTypeHelper.java, * org/omg/CORBA/StringValueHelper.java, * org/omg/CORBA/StructMember.java, * org/omg/CORBA/StructMemberHelper.java, * org/omg/CORBA/SystemException.java, * org/omg/CORBA/TCKind.java, * org/omg/CORBA/TRANSACTION_REQUIRED.java, * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java, * org/omg/CORBA/TRANSIENT.java, * org/omg/CORBA/TypeCode.java, * org/omg/CORBA/TypeCodePackage/BadKind.java, * org/omg/CORBA/TypeCodePackage/Bounds.java, * org/omg/CORBA/UNSUPPORTED_POLICY.java, * org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java, * org/omg/CORBA/UnionMemberHelper.java, * org/omg/CORBA/UnknownUserException.java, * org/omg/CORBA/UnknownUserExceptionHolder.java, * org/omg/CORBA/ValueBaseHelper.java, * org/omg/CORBA/ValueBaseHolder.java, * org/omg/CORBA/ValueMemberHelper.java, * org/omg/CORBA/VersionSpecHelper.java, * org/omg/CORBA/VisibilityHelper.java, * org/omg/CORBA/WStringValueHelper.java, * org/omg/CORBA/WrongTransactionHelper.java, * org/omg/CORBA/WrongTransactionHolder.java, * org/omg/CORBA/_IDLTypeStub.java, * org/omg/CORBA/_PolicyStub.java, * org/omg/CORBA/portable/CustomValue.java, * org/omg/CORBA/portable/Delegate.java, * org/omg/CORBA/portable/ObjectImpl.java, * org/omg/CORBA/portable/StreamableValue.java, * org/omg/CORBA/portable/ValueBase.java, * org/omg/CORBA_2_3/ORB.java, * org/omg/CORBA_2_3/portable/Delegate.java, * org/omg/CORBA_2_3/portable/InputStream.java, * org/omg/CORBA_2_3/portable/ObjectImpl.java, * org/omg/CORBA_2_3/portable/OutputStream.java, * org/omg/CosNaming/BindingHelper.java, * org/omg/CosNaming/BindingIterator.java, * org/omg/CosNaming/BindingIteratorHelper.java, * org/omg/CosNaming/BindingIteratorOperations.java, * org/omg/CosNaming/BindingIteratorPOA.java, * org/omg/CosNaming/BindingType.java, * org/omg/CosNaming/BindingTypeHelper.java, * org/omg/CosNaming/IstringHelper.java, * org/omg/CosNaming/NameComponentHelper.java, * org/omg/CosNaming/NameHelper.java, * org/omg/CosNaming/NamingContext.java, * org/omg/CosNaming/NamingContextExtHelper.java, * org/omg/CosNaming/NamingContextExtPOA.java, * org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java, * org/omg/CosNaming/NamingContextHelper.java, * org/omg/CosNaming/NamingContextPOA.java, * org/omg/CosNaming/NamingContextPackage/AlreadyBound.java, * org/omg/CosNaming/NamingContextPackage/CannotProceed.java, * org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java, * org/omg/CosNaming/NamingContextPackage/InvalidName.java, * org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java, * org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java, * org/omg/CosNaming/NamingContextPackage/NotFound.java, * org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java, * org/omg/CosNaming/NamingContextPackage/NotFoundReason.java, * org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java, * org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java, * org/omg/CosNaming/_BindingIteratorImplBase.java, * org/omg/CosNaming/_BindingIteratorStub.java, * org/omg/CosNaming/_NamingContextExtStub.java, * org/omg/CosNaming/_NamingContextStub.java, * org/omg/Dynamic/Parameter.java, * org/omg/DynamicAny/AnySeqHelper.java, * org/omg/DynamicAny/DynAny.java, * org/omg/DynamicAny/DynAnyFactoryHelper.java, * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java, * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java, * org/omg/DynamicAny/DynAnyHelper.java, * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java, * org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java, * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java, * org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java, * org/omg/DynamicAny/DynAnySeqHelper.java, * org/omg/DynamicAny/DynArrayHelper.java, * org/omg/DynamicAny/DynEnumHelper.java, * org/omg/DynamicAny/DynFixedHelper.java, * org/omg/DynamicAny/DynSequenceHelper.java, * org/omg/DynamicAny/DynStructHelper.java, * org/omg/DynamicAny/DynUnionHelper.java, * org/omg/DynamicAny/DynValueBox.java, * org/omg/DynamicAny/DynValueCommonOperations.java, * org/omg/DynamicAny/DynValueHelper.java, * org/omg/DynamicAny/FieldNameHelper.java, * org/omg/DynamicAny/NameDynAnyPairHelper.java, * org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, * org/omg/DynamicAny/NameValuePair.java, * org/omg/DynamicAny/NameValuePairHelper.java, * org/omg/DynamicAny/NameValuePairSeqHelper.java, * org/omg/DynamicAny/_DynAnyFactoryStub.java, * org/omg/DynamicAny/_DynAnyStub.java, * org/omg/DynamicAny/_DynArrayStub.java, * org/omg/DynamicAny/_DynEnumStub.java, * org/omg/DynamicAny/_DynFixedStub.java, * org/omg/DynamicAny/_DynSequenceStub.java, * org/omg/DynamicAny/_DynStructStub.java, * org/omg/DynamicAny/_DynUnionStub.java, * org/omg/DynamicAny/_DynValueStub.java, * org/omg/IOP/Codec.java, * org/omg/IOP/CodecFactory.java, * org/omg/IOP/CodecFactoryHelper.java, * org/omg/IOP/CodecFactoryOperations.java, * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java, * org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java, * org/omg/IOP/CodecOperations.java, * org/omg/IOP/CodecPackage/FormatMismatch.java, * org/omg/IOP/CodecPackage/FormatMismatchHelper.java, * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java, * org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java, * org/omg/IOP/CodecPackage/TypeMismatch.java, * org/omg/IOP/CodecPackage/TypeMismatchHelper.java, * org/omg/IOP/ComponentIdHelper.java, * org/omg/IOP/Encoding.java, * org/omg/IOP/IOR.java, * org/omg/IOP/IORHelper.java, * org/omg/IOP/IORHolder.java, * org/omg/IOP/MultipleComponentProfileHelper.java, * org/omg/IOP/MultipleComponentProfileHolder.java, * org/omg/IOP/ProfileIdHelper.java, * org/omg/IOP/ServiceContext.java, * org/omg/IOP/ServiceContextHelper.java, * org/omg/IOP/ServiceContextHolder.java, * org/omg/IOP/ServiceContextListHelper.java, * org/omg/IOP/ServiceContextListHolder.java, * org/omg/IOP/ServiceIdHelper.java, * org/omg/IOP/TaggedComponent.java, * org/omg/IOP/TaggedComponentHelper.java, * org/omg/IOP/TaggedComponentHolder.java, * org/omg/IOP/TaggedProfile.java, * org/omg/IOP/TaggedProfileHelper.java, * org/omg/IOP/TaggedProfileHolder.java, * org/omg/IOP/TransactionService.java, * org/omg/Messaging/SYNC_WITH_TRANSPORT.java, * org/omg/Messaging/SyncScopeHelper.java, * org/omg/PortableInterceptor/AdapterManagerIdHelper.java, * org/omg/PortableInterceptor/AdapterNameHelper.java, * org/omg/PortableInterceptor/AdapterStateHelper.java, * org/omg/PortableInterceptor/ClientRequestInfo.java, * org/omg/PortableInterceptor/ClientRequestInfoOperations.java, * org/omg/PortableInterceptor/ClientRequestInterceptor.java, * org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java, * org/omg/PortableInterceptor/Current.java, * org/omg/PortableInterceptor/CurrentHelper.java, * org/omg/PortableInterceptor/CurrentOperations.java, * org/omg/PortableInterceptor/ForwardRequest.java, * org/omg/PortableInterceptor/ForwardRequestHelper.java, * org/omg/PortableInterceptor/IORInfo.java, * org/omg/PortableInterceptor/IORInfoOperations.java, * org/omg/PortableInterceptor/IORInterceptor.java, * org/omg/PortableInterceptor/IORInterceptorOperations.java, * org/omg/PortableInterceptor/IORInterceptor_3_0.java, * org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java, * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java, * org/omg/PortableInterceptor/IORInterceptor_3_0Operations.java, * org/omg/PortableInterceptor/Interceptor.java, * org/omg/PortableInterceptor/InterceptorOperations.java, * org/omg/PortableInterceptor/InvalidSlot.java, * org/omg/PortableInterceptor/InvalidSlotHelper.java, * org/omg/PortableInterceptor/LOCATION_FORWARD.java, * org/omg/PortableInterceptor/ORBIdHelper.java, * org/omg/PortableInterceptor/ORBInitInfo.java, * org/omg/PortableInterceptor/ORBInitInfoOperations.java, * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java, * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java, * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java, * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java, * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java, * org/omg/PortableInterceptor/ORBInitializer.java, * org/omg/PortableInterceptor/ORBInitializerOperations.java, * org/omg/PortableInterceptor/ObjectIdHelper.java, * org/omg/PortableInterceptor/ObjectReferenceFactory.java, * org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java, * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java, * org/omg/PortableInterceptor/ObjectReferenceTemplate.java, * org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java, * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java, * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java, * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java, * org/omg/PortableInterceptor/PolicyFactory.java, * org/omg/PortableInterceptor/PolicyFactoryOperations.java, * org/omg/PortableInterceptor/RequestInfo.java, * org/omg/PortableInterceptor/RequestInfoOperations.java, * org/omg/PortableInterceptor/SUCCESSFUL.java, * org/omg/PortableInterceptor/SYSTEM_EXCEPTION.java, * org/omg/PortableInterceptor/ServerIdHelper.java, * org/omg/PortableInterceptor/ServerRequestInfo.java, * org/omg/PortableInterceptor/ServerRequestInfoOperations.java, * org/omg/PortableInterceptor/ServerRequestInterceptor.java, * org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java, * org/omg/PortableInterceptor/TRANSPORT_RETRY.java, * org/omg/PortableInterceptor/USER_EXCEPTION.java, * org/omg/PortableInterceptor/_IORInterceptor_3_0Stub.java, * org/omg/PortableServer/AdapterActivator.java, * org/omg/PortableServer/AdapterActivatorOperations.java, * org/omg/PortableServer/Current.java, * org/omg/PortableServer/CurrentHelper.java, * org/omg/PortableServer/CurrentOperations.java, * org/omg/PortableServer/CurrentPackage/NoContext.java, * org/omg/PortableServer/CurrentPackage/NoContextHelper.java, * org/omg/PortableServer/DynamicImplementation.java, * org/omg/PortableServer/ForwardRequest.java, * org/omg/PortableServer/ForwardRequestHelper.java, * org/omg/PortableServer/ID_ASSIGNMENT_POLICY_ID.java, * org/omg/PortableServer/ID_UNIQUENESS_POLICY_ID.java, * org/omg/PortableServer/IMPLICIT_ACTIVATION_POLICY_ID.java, * org/omg/PortableServer/IdAssignmentPolicy.java, * org/omg/PortableServer/IdAssignmentPolicyOperations.java, * org/omg/PortableServer/IdAssignmentPolicyValue.java, * org/omg/PortableServer/IdUniquenessPolicy.java, * org/omg/PortableServer/IdUniquenessPolicyOperations.java, * org/omg/PortableServer/IdUniquenessPolicyValue.java, * org/omg/PortableServer/ImplicitActivationPolicy.java, * org/omg/PortableServer/ImplicitActivationPolicyOperations.java, * org/omg/PortableServer/ImplicitActivationPolicyValue.java, * org/omg/PortableServer/LifespanPolicy.java, * org/omg/PortableServer/LifespanPolicyOperations.java, * org/omg/PortableServer/LifespanPolicyValue.java, * org/omg/PortableServer/POA.java, * org/omg/PortableServer/POAHelper.java, * org/omg/PortableServer/POAManager.java, * org/omg/PortableServer/POAManagerOperations.java, * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, * org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java, * org/omg/PortableServer/POAManagerPackage/State.java, * org/omg/PortableServer/POAOperations.java, * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, * org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java, * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, * org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java, * org/omg/PortableServer/POAPackage/InvalidPolicy.java, * org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java, * org/omg/PortableServer/POAPackage/NoServant.java, * org/omg/PortableServer/POAPackage/NoServantHelper.java, * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, * org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java, * org/omg/PortableServer/POAPackage/ObjectNotActive.java, * org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java, * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, * org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java, * org/omg/PortableServer/POAPackage/ServantNotActive.java, * org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java, * org/omg/PortableServer/POAPackage/WrongAdapter.java, * org/omg/PortableServer/POAPackage/WrongAdapterHelper.java, * org/omg/PortableServer/POAPackage/WrongPolicy.java, * org/omg/PortableServer/POAPackage/WrongPolicyHelper.java, * org/omg/PortableServer/RequestProcessingPolicy.java, * org/omg/PortableServer/RequestProcessingPolicyOperations.java, * org/omg/PortableServer/RequestProcessingPolicyValue.java, * org/omg/PortableServer/Servant.java, * org/omg/PortableServer/ServantActivator.java, * org/omg/PortableServer/ServantActivatorHelper.java, * org/omg/PortableServer/ServantActivatorOperations.java, * org/omg/PortableServer/ServantActivatorPOA.java, * org/omg/PortableServer/ServantLocator.java, * org/omg/PortableServer/ServantLocatorHelper.java, * org/omg/PortableServer/ServantLocatorOperations.java, * org/omg/PortableServer/ServantLocatorPOA.java, * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, * org/omg/PortableServer/ServantManager.java, * org/omg/PortableServer/ServantManagerOperations.java, * org/omg/PortableServer/ServantRetentionPolicy.java, * org/omg/PortableServer/ServantRetentionPolicyOperations.java, * org/omg/PortableServer/ServantRetentionPolicyValue.java, * org/omg/PortableServer/ThreadPolicy.java, * org/omg/PortableServer/ThreadPolicyOperations.java, * org/omg/PortableServer/ThreadPolicyValue.java, * org/omg/PortableServer/_ServantActivatorStub.java, * org/omg/PortableServer/_ServantLocatorStub.java, * org/omg/PortableServer/portable/Delegate.java, * org/omg/SendingContext/RunTime.java, * org/omg/SendingContext/RunTimeOperations.java, * sun/misc/Service.java, * sun/misc/ServiceConfigurationError.java, * sun/reflect/annotation/AnnotationInvocationHandler.java, * sun/reflect/annotation/AnnotationParser.java, * sun/reflect/annotation/AnnotationType.java, * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java, * sun/reflect/annotation/ExceptionProxy.java, * tools/com/sun/javadoc/ClassDoc.java, * tools/com/sun/javadoc/ConstructorDoc.java, * tools/com/sun/javadoc/Doc.java, * tools/com/sun/javadoc/DocErrorReporter.java, * tools/com/sun/javadoc/Doclet.java, * tools/com/sun/javadoc/ExecutableMemberDoc.java, * tools/com/sun/javadoc/FieldDoc.java, * tools/com/sun/javadoc/MemberDoc.java, * tools/com/sun/javadoc/MethodDoc.java, * tools/com/sun/javadoc/PackageDoc.java, * tools/com/sun/javadoc/ParamTag.java, * tools/com/sun/javadoc/Parameter.java, * tools/com/sun/javadoc/ProgramElementDoc.java, * tools/com/sun/javadoc/RootDoc.java, * tools/com/sun/javadoc/SeeTag.java, * tools/com/sun/javadoc/SerialFieldTag.java, * tools/com/sun/javadoc/Tag.java, * tools/com/sun/javadoc/ThrowsTag.java, * tools/com/sun/javadoc/Type.java, * tools/com/sun/javadoc/TypeVariable.java, * tools/com/sun/tools/javadoc/Main.java, * tools/com/sun/tools/javah/Main.java, * tools/external/asm/org/objectweb/asm/AnnotationVisitor.java, * tools/external/asm/org/objectweb/asm/AnnotationWriter.java, * tools/external/asm/org/objectweb/asm/Attribute.java, * tools/external/asm/org/objectweb/asm/ByteVector.java, * tools/external/asm/org/objectweb/asm/ClassAdapter.java, * tools/external/asm/org/objectweb/asm/ClassReader.java, * tools/external/asm/org/objectweb/asm/ClassVisitor.java, * tools/external/asm/org/objectweb/asm/ClassWriter.java, * tools/external/asm/org/objectweb/asm/Edge.java, * tools/external/asm/org/objectweb/asm/FieldVisitor.java, * tools/external/asm/org/objectweb/asm/FieldWriter.java, * tools/external/asm/org/objectweb/asm/Handler.java, * tools/external/asm/org/objectweb/asm/Item.java, * tools/external/asm/org/objectweb/asm/Label.java, * tools/external/asm/org/objectweb/asm/MethodAdapter.java, * tools/external/asm/org/objectweb/asm/MethodVisitor.java, * tools/external/asm/org/objectweb/asm/MethodWriter.java, * tools/external/asm/org/objectweb/asm/Opcodes.java, * tools/external/asm/org/objectweb/asm/Type.java, * tools/external/asm/org/objectweb/asm/attrs/StackMapAttribute.java, * tools/external/asm/org/objectweb/asm/attrs/StackMapFrame.java, * tools/external/asm/org/objectweb/asm/attrs/StackMapTableAttribute.java, * tools/external/asm/org/objectweb/asm/attrs/StackMapType.java, * tools/external/asm/org/objectweb/asm/commons/AdviceAdapter.java, * tools/external/asm/org/objectweb/asm/commons/EmptyVisitor.java, * tools/external/asm/org/objectweb/asm/commons/GeneratorAdapter.java, * tools/external/asm/org/objectweb/asm/commons/LocalVariablesSorter.java, * tools/external/asm/org/objectweb/asm/commons/Method.java, * tools/external/asm/org/objectweb/asm/commons/SerialVersionUIDAdder.java, * tools/external/asm/org/objectweb/asm/commons/StaticInitMerger.java, * tools/external/asm/org/objectweb/asm/commons/TableSwitchGenerator.java, * tools/external/asm/org/objectweb/asm/optimizer/AnnotationConstantsCollector.java, * tools/external/asm/org/objectweb/asm/optimizer/ClassConstantsCollector.java, * tools/external/asm/org/objectweb/asm/optimizer/ClassOptimizer.java, * tools/external/asm/org/objectweb/asm/optimizer/Constant.java, * tools/external/asm/org/objectweb/asm/optimizer/ConstantPool.java, * tools/external/asm/org/objectweb/asm/optimizer/FieldConstantsCollector.java, * tools/external/asm/org/objectweb/asm/optimizer/JarOptimizer.java, * tools/external/asm/org/objectweb/asm/optimizer/MethodConstantsCollector.java, * tools/external/asm/org/objectweb/asm/optimizer/MethodOptimizer.java, * tools/external/asm/org/objectweb/asm/optimizer/NameMapping.java, * tools/external/asm/org/objectweb/asm/optimizer/Shrinker.java, * tools/external/asm/org/objectweb/asm/signature/SignatureReader.java, * tools/external/asm/org/objectweb/asm/signature/SignatureVisitor.java, * tools/external/asm/org/objectweb/asm/signature/SignatureWriter.java, * tools/external/asm/org/objectweb/asm/tree/AbstractInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/AnnotationNode.java, * tools/external/asm/org/objectweb/asm/tree/ClassNode.java, * tools/external/asm/org/objectweb/asm/tree/FieldInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/FieldNode.java, * tools/external/asm/org/objectweb/asm/tree/IincInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/InnerClassNode.java, * tools/external/asm/org/objectweb/asm/tree/InsnNode.java, * tools/external/asm/org/objectweb/asm/tree/IntInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/JumpInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/LabelNode.java, * tools/external/asm/org/objectweb/asm/tree/LdcInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/LineNumberNode.java, * tools/external/asm/org/objectweb/asm/tree/LocalVariableNode.java, * tools/external/asm/org/objectweb/asm/tree/LookupSwitchInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/MemberNode.java, * tools/external/asm/org/objectweb/asm/tree/MethodInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/MethodNode.java, * tools/external/asm/org/objectweb/asm/tree/MultiANewArrayInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/TableSwitchInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/TryCatchBlockNode.java, * tools/external/asm/org/objectweb/asm/tree/TypeInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/VarInsnNode.java, * tools/external/asm/org/objectweb/asm/tree/analysis/Analyzer.java, * tools/external/asm/org/objectweb/asm/tree/analysis/AnalyzerException.java, * tools/external/asm/org/objectweb/asm/tree/analysis/BasicInterpreter.java, * tools/external/asm/org/objectweb/asm/tree/analysis/BasicValue.java, * tools/external/asm/org/objectweb/asm/tree/analysis/BasicVerifier.java, * tools/external/asm/org/objectweb/asm/tree/analysis/DataflowInterpreter.java, * tools/external/asm/org/objectweb/asm/tree/analysis/DataflowValue.java, * tools/external/asm/org/objectweb/asm/tree/analysis/Frame.java, * tools/external/asm/org/objectweb/asm/tree/analysis/IntMap.java, * tools/external/asm/org/objectweb/asm/tree/analysis/Interpreter.java, * tools/external/asm/org/objectweb/asm/tree/analysis/SimpleVerifier.java, * tools/external/asm/org/objectweb/asm/tree/analysis/SmallSet.java, * tools/external/asm/org/objectweb/asm/tree/analysis/Subroutine.java, * tools/external/asm/org/objectweb/asm/tree/analysis/Value.java, * tools/external/asm/org/objectweb/asm/util/ASMifierAbstractVisitor.java, * tools/external/asm/org/objectweb/asm/util/ASMifierAnnotationVisitor.java, * tools/external/asm/org/objectweb/asm/util/ASMifierClassVisitor.java, * tools/external/asm/org/objectweb/asm/util/ASMifierFieldVisitor.java, * tools/external/asm/org/objectweb/asm/util/ASMifierMethodVisitor.java, * tools/external/asm/org/objectweb/asm/util/AbstractVisitor.java, * tools/external/asm/org/objectweb/asm/util/CheckAnnotationAdapter.java, * tools/external/asm/org/objectweb/asm/util/CheckClassAdapter.java, * tools/external/asm/org/objectweb/asm/util/CheckMethodAdapter.java, * tools/external/asm/org/objectweb/asm/util/TraceAbstractVisitor.java, * tools/external/asm/org/objectweb/asm/util/TraceAnnotationVisitor.java, * tools/external/asm/org/objectweb/asm/util/TraceClassVisitor.java, * tools/external/asm/org/objectweb/asm/util/TraceFieldVisitor.java, * tools/external/asm/org/objectweb/asm/util/TraceMethodVisitor.java, * tools/external/asm/org/objectweb/asm/util/TraceSignatureVisitor.java, * tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapAttribute.java, * tools/external/asm/org/objectweb/asm/util/attrs/ASMStackMapTableAttribute.java, * tools/external/asm/org/objectweb/asm/util/attrs/ASMifiable.java, * tools/external/asm/org/objectweb/asm/util/attrs/Traceable.java, * tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java, * tools/external/asm/org/objectweb/asm/xml/Processor.java, * tools/external/asm/org/objectweb/asm/xml/SAXAdapter.java, * tools/external/asm/org/objectweb/asm/xml/SAXAnnotationAdapter.java, * tools/external/asm/org/objectweb/asm/xml/SAXClassAdapter.java, * tools/external/asm/org/objectweb/asm/xml/SAXCodeAdapter.java, * tools/external/asm/org/objectweb/asm/xml/SAXFieldAdapter.java, * tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java, * tools/generated/gnu/classpath/tools/gjdoc/expr/JavaRecognizer.java, * tools/generated/gnu/classpath/tools/gjdoc/expr/JavaTokenTypes.java, * tools/gnu/classpath/tools/FileSystemClassLoader.java, * tools/gnu/classpath/tools/IOToolkit.java, * tools/gnu/classpath/tools/MalformedInputEvent.java, * tools/gnu/classpath/tools/MalformedInputListener.java, * tools/gnu/classpath/tools/NotifyingInputStreamReader.java, * tools/gnu/classpath/tools/StringToolkit.java, * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java, * tools/gnu/classpath/tools/appletviewer/AppletTag.java, * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java, * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java, * tools/gnu/classpath/tools/appletviewer/Main.java, * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java, * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java, * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java, * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java, * tools/gnu/classpath/tools/appletviewer/TagParser.java, * tools/gnu/classpath/tools/common/CallbackUtil.java, * tools/gnu/classpath/tools/common/ClasspathToolParser.java, * tools/gnu/classpath/tools/common/Persistent.java, * tools/gnu/classpath/tools/common/ProviderUtil.java, * tools/gnu/classpath/tools/common/SecurityProviderInfo.java, * tools/gnu/classpath/tools/doclets/AbstractDoclet.java, * tools/gnu/classpath/tools/doclets/DocletConfigurationException.java, * tools/gnu/classpath/tools/doclets/DocletOption.java, * tools/gnu/classpath/tools/doclets/DocletOptionColonSeparated.java, * tools/gnu/classpath/tools/doclets/DocletOptionFile.java, * tools/gnu/classpath/tools/doclets/DocletOptionFlag.java, * tools/gnu/classpath/tools/doclets/DocletOptionPackageWildcard.java, * tools/gnu/classpath/tools/doclets/DocletOptionString.java, * tools/gnu/classpath/tools/doclets/InlineTagRenderer.java, * tools/gnu/classpath/tools/doclets/InvalidPackageWildcardException.java, * tools/gnu/classpath/tools/doclets/PackageGroup.java, * tools/gnu/classpath/tools/doclets/PackageMatcher.java, * tools/gnu/classpath/tools/doclets/StandardTaglet.java, * tools/gnu/classpath/tools/doclets/TagletPrinter.java, * tools/gnu/classpath/tools/doclets/debugdoclet/DebugDoclet.java, * tools/gnu/classpath/tools/doclets/htmldoclet/CssClass.java, * tools/gnu/classpath/tools/doclets/htmldoclet/ExternalDocSet.java, * tools/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.java, * tools/gnu/classpath/tools/doclets/htmldoclet/HtmlPage.java, * tools/gnu/classpath/tools/doclets/htmldoclet/HtmlTagletContext.java, * tools/gnu/classpath/tools/doclets/xmldoclet/Driver.java, * tools/gnu/classpath/tools/doclets/xmldoclet/Driver1_4.java, * tools/gnu/classpath/tools/doclets/xmldoclet/HtmlRepairer.java, * tools/gnu/classpath/tools/doclets/xmldoclet/TargetContext.java, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTranslet.java, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletConfigurationException.java, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletException.java, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/DocTransletOptions.java, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/JarClassLoader.java, * tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/OutputFileInfo.java, * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java, * tools/gnu/classpath/tools/getopt/Option.java, * tools/gnu/classpath/tools/getopt/OptionGroup.java, * tools/gnu/classpath/tools/getopt/Parser.java, * tools/gnu/classpath/tools/gjdoc/AbstractTagImpl.java, * tools/gnu/classpath/tools/gjdoc/ArrayCharacterIterator.java, * tools/gnu/classpath/tools/gjdoc/ClassDocImpl.java, * tools/gnu/classpath/tools/gjdoc/ClassDocProxy.java, * tools/gnu/classpath/tools/gjdoc/ClassDocReflectedImpl.java, * tools/gnu/classpath/tools/gjdoc/ConstructorDocImpl.java, * tools/gnu/classpath/tools/gjdoc/Debug.java, * tools/gnu/classpath/tools/gjdoc/DirectoryTree.java, * tools/gnu/classpath/tools/gjdoc/DocImpl.java, * tools/gnu/classpath/tools/gjdoc/ErrorReporter.java, * tools/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.java, * tools/gnu/classpath/tools/gjdoc/FieldDocImpl.java, * tools/gnu/classpath/tools/gjdoc/GjdocPackageDoc.java, * tools/gnu/classpath/tools/gjdoc/GjdocRootDoc.java, * tools/gnu/classpath/tools/gjdoc/InheritDocTagImpl.java, * tools/gnu/classpath/tools/gjdoc/JavadocWrapper.java, * tools/gnu/classpath/tools/gjdoc/LinkTagImpl.java, * tools/gnu/classpath/tools/gjdoc/Main.java, * tools/gnu/classpath/tools/gjdoc/MemberDocImpl.java, * tools/gnu/classpath/tools/gjdoc/MethodDocImpl.java, * tools/gnu/classpath/tools/gjdoc/PackageDocImpl.java, * tools/gnu/classpath/tools/gjdoc/ParamTagImpl.java, * tools/gnu/classpath/tools/gjdoc/ParameterImpl.java, * tools/gnu/classpath/tools/gjdoc/ParseException.java, * tools/gnu/classpath/tools/gjdoc/Parser.java, * tools/gnu/classpath/tools/gjdoc/ProgramElementDocImpl.java, * tools/gnu/classpath/tools/gjdoc/RootDocImpl.java, * tools/gnu/classpath/tools/gjdoc/SeeTagImpl.java, * tools/gnu/classpath/tools/gjdoc/SerialFieldTagImpl.java, * tools/gnu/classpath/tools/gjdoc/SourcePositionImpl.java, * tools/gnu/classpath/tools/gjdoc/TagContainer.java, * tools/gnu/classpath/tools/gjdoc/TagImpl.java, * tools/gnu/classpath/tools/gjdoc/TemporaryStore.java, * tools/gnu/classpath/tools/gjdoc/TextTagImpl.java, * tools/gnu/classpath/tools/gjdoc/ThrowsTagImpl.java, * tools/gnu/classpath/tools/gjdoc/Timer.java, * tools/gnu/classpath/tools/gjdoc/TimerDoclet.java, * tools/gnu/classpath/tools/gjdoc/TypeImpl.java, * tools/gnu/classpath/tools/gjdoc/TypeVariableImpl.java, * tools/gnu/classpath/tools/gjdoc/ValueTagImpl.java, * tools/gnu/classpath/tools/gjdoc/WritableType.java, * tools/gnu/classpath/tools/gjdoc/expr/AdditionExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/AndExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryBitwiseExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryComputationExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryEqualityExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryLogicalExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryRelationExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BinaryShiftExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/BitShiftRightExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/CircularExpressionException.java, * tools/gnu/classpath/tools/gjdoc/expr/ConditionalExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantBoolean.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantByte.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantChar.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantDouble.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantFloat.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantInteger.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantLong.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantNull.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantShort.java, * tools/gnu/classpath/tools/gjdoc/expr/ConstantString.java, * tools/gnu/classpath/tools/gjdoc/expr/Context.java, * tools/gnu/classpath/tools/gjdoc/expr/DivisionExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/EqualExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/Evaluator.java, * tools/gnu/classpath/tools/gjdoc/expr/EvaluatorEnvironment.java, * tools/gnu/classpath/tools/gjdoc/expr/ExclusiveOrExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/Expression.java, * tools/gnu/classpath/tools/gjdoc/expr/GreaterThanExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/GreaterThanOrEqualExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/IdentifierExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/IllegalExpressionException.java, * tools/gnu/classpath/tools/gjdoc/expr/InclusiveOrExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/LessThanExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/LessThanOrEqualExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/LogicalAndExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/LogicalNotExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/LogicalOrExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/ModuloExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/MultiplicationExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/NegateExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/NotEqualExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/NotExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/ShiftLeftExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/ShiftRightExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/SubtractionExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/Type.java, * tools/gnu/classpath/tools/gjdoc/expr/TypeCastExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/UnaryExpression.java, * tools/gnu/classpath/tools/gjdoc/expr/UnknownIdentifierException.java, * tools/gnu/classpath/tools/jar/Creator.java, * tools/gnu/classpath/tools/jar/Indexer.java, * tools/gnu/classpath/tools/jar/Main.java, * tools/gnu/classpath/tools/jar/Updater.java, * tools/gnu/classpath/tools/jarsigner/JarVerifier.java, * tools/gnu/classpath/tools/jarsigner/Main.java, * tools/gnu/classpath/tools/jarsigner/SFHelper.java, * tools/gnu/classpath/tools/java2xhtml/Java2xhtml.java, * tools/gnu/classpath/tools/javah/ClassWrapper.java, * tools/gnu/classpath/tools/javah/CniPrintStream.java, * tools/gnu/classpath/tools/javah/GcjhMain.java, * tools/gnu/classpath/tools/javah/JniHelper.java, * tools/gnu/classpath/tools/javah/JniIncludePrinter.java, * tools/gnu/classpath/tools/javah/JniStubPrinter.java, * tools/gnu/classpath/tools/javah/Keywords.java, * tools/gnu/classpath/tools/javah/Main.java, * tools/gnu/classpath/tools/javah/MethodHelper.java, * tools/gnu/classpath/tools/keytool/CACertCmd.java, * tools/gnu/classpath/tools/keytool/CertReqCmd.java, * tools/gnu/classpath/tools/keytool/Command.java, * tools/gnu/classpath/tools/keytool/DeleteCmd.java, * tools/gnu/classpath/tools/keytool/ExportCmd.java, * tools/gnu/classpath/tools/keytool/GenKeyCmd.java, * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java, * tools/gnu/classpath/tools/keytool/ImportCmd.java, * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java, * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java, * tools/gnu/classpath/tools/keytool/ListCmd.java, * tools/gnu/classpath/tools/keytool/PrintCertCmd.java, * tools/gnu/classpath/tools/keytool/SelfCertCmd.java, * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java, * tools/gnu/classpath/tools/orbd/Main.java, * tools/gnu/classpath/tools/orbd/PersistentContext.java, * tools/gnu/classpath/tools/orbd/PersistentContextMap.java, * tools/gnu/classpath/tools/orbd/PersistentMap.java, * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java, * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java, * tools/gnu/classpath/tools/rmic/CompilationError.java, * tools/gnu/classpath/tools/rmic/Generator.java, * tools/gnu/classpath/tools/rmic/GiopIo.java, * tools/gnu/classpath/tools/rmic/HashFinder.java, * tools/gnu/classpath/tools/rmic/Main.java, * tools/gnu/classpath/tools/rmic/MethodGenerator.java, * tools/gnu/classpath/tools/rmic/RMICException.java, * tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java, * tools/gnu/classpath/tools/rmic/RmicBackend.java, * tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java, * tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java, * tools/gnu/classpath/tools/rmic/Variables.java, * tools/gnu/classpath/tools/rmic/WrapUnWrapper.java, * tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java, * tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java, * tools/gnu/classpath/tools/rmid/Main.java, * tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java, * tools/gnu/classpath/tools/rmiregistry/Main.java, * tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java, * tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java, * tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java, * tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java, * tools/gnu/classpath/tools/serialver/SerialVer.java, * tools/gnu/classpath/tools/taglets/AuthorTaglet.java, * tools/gnu/classpath/tools/taglets/CodeTaglet.java, * tools/gnu/classpath/tools/taglets/CopyrightTaglet.java, * tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java, * tools/gnu/classpath/tools/taglets/GenericTaglet.java, * tools/gnu/classpath/tools/taglets/GnuExtendedTaglet.java, * tools/gnu/classpath/tools/taglets/SinceTaglet.java, * tools/gnu/classpath/tools/taglets/TagletContext.java, * tools/gnu/classpath/tools/taglets/ValueTaglet.java, * tools/gnu/classpath/tools/taglets/VersionTaglet.java, * tools/gnu/classpath/tools/tnameserv/Main.java, * vm/reference/gnu/classpath/jdwp/VMFrame.java, * vm/reference/gnu/classpath/jdwp/VMIdManager.java, * vm/reference/gnu/classpath/jdwp/VMMethod.java, * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java, * vm/reference/gnu/java/lang/VMCPStringBuilder.java, * vm/reference/gnu/java/lang/VMInstrumentationImpl.java, * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java, * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java, * vm/reference/gnu/java/net/VMPlainSocketImpl.java, * vm/reference/gnu/java/nio/VMChannel.java, * vm/reference/gnu/java/nio/VMPipe.java, * vm/reference/gnu/java/nio/VMSelector.java, * vm/reference/gnu/java/security/jce/prng/VMSecureRandom.java, * vm/reference/java/io/VMFile.java, * vm/reference/java/io/VMObjectInputStream.java, * vm/reference/java/io/VMObjectStreamClass.java, * vm/reference/java/lang/VMClass.java, * vm/reference/java/lang/VMClassLoader.java, * vm/reference/java/lang/VMDouble.java, * vm/reference/java/lang/VMFloat.java, * vm/reference/java/lang/VMMath.java, * vm/reference/java/lang/VMObject.java, * vm/reference/java/lang/VMProcess.java, * vm/reference/java/lang/VMRuntime.java, * vm/reference/java/lang/VMString.java, * vm/reference/java/lang/VMSystem.java, * vm/reference/java/lang/VMThread.java, * vm/reference/java/lang/reflect/VMConstructor.java, * vm/reference/java/lang/reflect/VMField.java, * vm/reference/java/lang/reflect/VMMethod.java, * vm/reference/java/net/VMNetworkInterface.java, * vm/reference/java/nio/channels/VMChannels.java, * vm/reference/java/security/VMAccessController.java, * vm/reference/java/security/VMSecureRandom.java, * vm/reference/java/util/VMTimeZone.java, * vm/reference/sun/misc/Unsafe.java, * vm/reference/sun/reflect/Reflection.java, * vm/reference/sun/reflect/misc/ReflectUtil.java: Normalise whitespace. From-SVN: r168680 --- libjava/classpath/javax/swing/AbstractAction.java | 60 +- libjava/classpath/javax/swing/AbstractButton.java | 166 ++-- .../classpath/javax/swing/AbstractCellEditor.java | 16 +- .../classpath/javax/swing/AbstractListModel.java | 4 +- .../javax/swing/AbstractSpinnerModel.java | 4 +- libjava/classpath/javax/swing/Action.java | 38 +- libjava/classpath/javax/swing/BorderFactory.java | 2 +- .../classpath/javax/swing/BoundedRangeModel.java | 42 +- libjava/classpath/javax/swing/Box.java | 56 +- libjava/classpath/javax/swing/BoxLayout.java | 12 +- libjava/classpath/javax/swing/ButtonGroup.java | 16 +- libjava/classpath/javax/swing/ButtonModel.java | 14 +- libjava/classpath/javax/swing/CellEditor.java | 20 +- .../classpath/javax/swing/CellRendererPane.java | 2 +- libjava/classpath/javax/swing/ComboBoxModel.java | 8 +- .../classpath/javax/swing/ComponentInputMap.java | 10 +- libjava/classpath/javax/swing/DebugGraphics.java | 74 +- .../javax/swing/DefaultBoundedRangeModel.java | 10 +- .../classpath/javax/swing/DefaultButtonModel.java | 10 +- .../classpath/javax/swing/DefaultCellEditor.java | 134 +-- .../javax/swing/DefaultComboBoxModel.java | 34 +- .../javax/swing/DefaultDesktopManager.java | 48 +- .../classpath/javax/swing/DefaultFocusManager.java | 20 +- .../classpath/javax/swing/DefaultListModel.java | 10 +- .../javax/swing/DefaultListSelectionModel.java | 126 +-- .../javax/swing/DefaultSingleSelectionModel.java | 16 +- libjava/classpath/javax/swing/FocusManager.java | 6 +- libjava/classpath/javax/swing/GrayFilter.java | 6 +- libjava/classpath/javax/swing/Icon.java | 12 +- libjava/classpath/javax/swing/ImageIcon.java | 30 +- libjava/classpath/javax/swing/InputMap.java | 26 +- .../swing/InternalFrameFocusTraversalPolicy.java | 2 +- libjava/classpath/javax/swing/JApplet.java | 4 +- libjava/classpath/javax/swing/JButton.java | 20 +- libjava/classpath/javax/swing/JCheckBox.java | 26 +- .../classpath/javax/swing/JCheckBoxMenuItem.java | 30 +- libjava/classpath/javax/swing/JComboBox.java | 54 +- libjava/classpath/javax/swing/JComponent.java | 280 +++--- libjava/classpath/javax/swing/JDesktopPane.java | 12 +- libjava/classpath/javax/swing/JDialog.java | 38 +- libjava/classpath/javax/swing/JEditorPane.java | 68 +- libjava/classpath/javax/swing/JFileChooser.java | 404 ++++---- .../classpath/javax/swing/JFormattedTextField.java | 182 ++-- libjava/classpath/javax/swing/JFrame.java | 62 +- libjava/classpath/javax/swing/JInternalFrame.java | 244 ++--- libjava/classpath/javax/swing/JLabel.java | 152 +-- libjava/classpath/javax/swing/JLayeredPane.java | 64 +- libjava/classpath/javax/swing/JList.java | 250 ++--- libjava/classpath/javax/swing/JMenu.java | 26 +- libjava/classpath/javax/swing/JMenuBar.java | 60 +- libjava/classpath/javax/swing/JMenuItem.java | 76 +- libjava/classpath/javax/swing/JOptionPane.java | 106 +- libjava/classpath/javax/swing/JPanel.java | 36 +- libjava/classpath/javax/swing/JPasswordField.java | 60 +- libjava/classpath/javax/swing/JPopupMenu.java | 38 +- libjava/classpath/javax/swing/JProgressBar.java | 278 +++--- libjava/classpath/javax/swing/JRadioButton.java | 41 +- .../javax/swing/JRadioButtonMenuItem.java | 16 +- libjava/classpath/javax/swing/JRootPane.java | 26 +- libjava/classpath/javax/swing/JScrollBar.java | 76 +- libjava/classpath/javax/swing/JScrollPane.java | 72 +- libjava/classpath/javax/swing/JSeparator.java | 28 +- libjava/classpath/javax/swing/JSlider.java | 228 ++--- libjava/classpath/javax/swing/JSpinner.java | 96 +- libjava/classpath/javax/swing/JSplitPane.java | 56 +- libjava/classpath/javax/swing/JTabbedPane.java | 120 +-- libjava/classpath/javax/swing/JTable.java | 578 +++++------ libjava/classpath/javax/swing/JTextArea.java | 60 +- libjava/classpath/javax/swing/JTextField.java | 34 +- libjava/classpath/javax/swing/JTextPane.java | 4 +- libjava/classpath/javax/swing/JToggleButton.java | 61 +- libjava/classpath/javax/swing/JToolBar.java | 168 ++-- libjava/classpath/javax/swing/JToolTip.java | 18 +- libjava/classpath/javax/swing/JTree.java | 572 +++++------ libjava/classpath/javax/swing/JViewport.java | 32 +- libjava/classpath/javax/swing/JWindow.java | 2 +- libjava/classpath/javax/swing/KeyStroke.java | 28 +- libjava/classpath/javax/swing/KeyboardManager.java | 88 +- .../javax/swing/LayoutFocusTraversalPolicy.java | 16 +- .../classpath/javax/swing/ListCellRenderer.java | 2 +- .../classpath/javax/swing/ListSelectionModel.java | 156 +-- libjava/classpath/javax/swing/LookAndFeel.java | 114 +-- .../javax/swing/MenuSelectionManager.java | 112 +-- libjava/classpath/javax/swing/OverlayLayout.java | 4 +- libjava/classpath/javax/swing/Popup.java | 16 +- libjava/classpath/javax/swing/PopupFactory.java | 2 +- libjava/classpath/javax/swing/ProgressMonitor.java | 38 +- .../javax/swing/ProgressMonitorInputStream.java | 46 +- libjava/classpath/javax/swing/Renderer.java | 2 +- libjava/classpath/javax/swing/RepaintManager.java | 42 +- .../classpath/javax/swing/ScrollPaneLayout.java | 64 +- libjava/classpath/javax/swing/Scrollable.java | 24 +- .../javax/swing/SingleSelectionModel.java | 16 +- .../classpath/javax/swing/SizeRequirements.java | 2 +- libjava/classpath/javax/swing/SizeSequence.java | 48 +- .../javax/swing/SortingFocusTraversalPolicy.java | 48 +- .../classpath/javax/swing/SpinnerDateModel.java | 114 +-- .../classpath/javax/swing/SpinnerListModel.java | 18 +- libjava/classpath/javax/swing/SpinnerModel.java | 4 +- .../classpath/javax/swing/SpinnerNumberModel.java | 60 +- libjava/classpath/javax/swing/Spring.java | 14 +- libjava/classpath/javax/swing/SpringLayout.java | 64 +- libjava/classpath/javax/swing/SwingConstants.java | 11 +- libjava/classpath/javax/swing/SwingUtilities.java | 158 +-- libjava/classpath/javax/swing/Timer.java | 32 +- libjava/classpath/javax/swing/ToolTipManager.java | 32 +- libjava/classpath/javax/swing/TransferHandler.java | 62 +- libjava/classpath/javax/swing/UIDefaults.java | 74 +- libjava/classpath/javax/swing/UIManager.java | 294 +++--- .../swing/UnsupportedLookAndFeelException.java | 6 +- libjava/classpath/javax/swing/ViewportLayout.java | 32 +- libjava/classpath/javax/swing/WindowConstants.java | 10 +- .../javax/swing/border/AbstractBorder.java | 44 +- .../classpath/javax/swing/border/BevelBorder.java | 35 +- libjava/classpath/javax/swing/border/Border.java | 6 +- .../javax/swing/border/CompoundBorder.java | 10 +- .../classpath/javax/swing/border/EmptyBorder.java | 6 +- .../classpath/javax/swing/border/EtchedBorder.java | 42 +- .../classpath/javax/swing/border/LineBorder.java | 56 +- .../classpath/javax/swing/border/MatteBorder.java | 54 +- .../javax/swing/border/SoftBevelBorder.java | 6 +- .../classpath/javax/swing/border/TitledBorder.java | 38 +- .../colorchooser/AbstractColorChooserPanel.java | 14 +- .../colorchooser/ColorChooserComponentFactory.java | 2 +- .../swing/colorchooser/ColorSelectionModel.java | 14 +- .../colorchooser/DefaultColorSelectionModel.java | 4 +- .../swing/colorchooser/DefaultHSBChooserPanel.java | 234 ++--- .../swing/colorchooser/DefaultRGBChooserPanel.java | 28 +- .../colorchooser/DefaultSwatchChooserPanel.java | 116 +-- .../classpath/javax/swing/event/AncestorEvent.java | 4 +- .../javax/swing/event/AncestorListener.java | 30 +- .../classpath/javax/swing/event/CaretEvent.java | 6 +- .../classpath/javax/swing/event/CaretListener.java | 10 +- .../javax/swing/event/CellEditorListener.java | 22 +- .../classpath/javax/swing/event/ChangeEvent.java | 12 +- .../javax/swing/event/ChangeListener.java | 12 +- .../classpath/javax/swing/event/DocumentEvent.java | 2 +- .../javax/swing/event/DocumentListener.java | 30 +- .../javax/swing/event/EventListenerList.java | 10 +- .../javax/swing/event/HyperlinkEvent.java | 20 +- .../javax/swing/event/HyperlinkListener.java | 10 +- .../javax/swing/event/InternalFrameAdapter.java | 2 +- .../javax/swing/event/InternalFrameEvent.java | 20 +- .../javax/swing/event/InternalFrameListener.java | 82 +- .../classpath/javax/swing/event/ListDataEvent.java | 42 +- .../javax/swing/event/ListDataListener.java | 12 +- .../javax/swing/event/ListSelectionEvent.java | 50 +- .../javax/swing/event/ListSelectionListener.java | 8 +- .../javax/swing/event/MenuDragMouseEvent.java | 16 +- .../javax/swing/event/MenuDragMouseListener.java | 40 +- libjava/classpath/javax/swing/event/MenuEvent.java | 4 +- .../classpath/javax/swing/event/MenuKeyEvent.java | 14 +- .../javax/swing/event/MenuKeyListener.java | 30 +- .../classpath/javax/swing/event/MenuListener.java | 30 +- .../javax/swing/event/MouseInputListener.java | 2 +- .../javax/swing/event/PopupMenuEvent.java | 14 +- .../javax/swing/event/PopupMenuListener.java | 30 +- .../swing/event/SwingPropertyChangeSupport.java | 8 +- .../javax/swing/event/TableColumnModelEvent.java | 14 +- .../swing/event/TableColumnModelListener.java | 20 +- .../javax/swing/event/TableModelEvent.java | 86 +- .../javax/swing/event/TableModelListener.java | 12 +- .../javax/swing/event/TreeExpansionEvent.java | 10 +- .../javax/swing/event/TreeExpansionListener.java | 2 +- .../javax/swing/event/TreeModelEvent.java | 48 +- .../javax/swing/event/TreeModelListener.java | 40 +- .../javax/swing/event/TreeSelectionEvent.java | 112 +-- .../javax/swing/event/TreeSelectionListener.java | 8 +- .../javax/swing/event/TreeWillExpandListener.java | 6 +- .../javax/swing/event/UndoableEditEvent.java | 10 +- .../javax/swing/filechooser/FileFilter.java | 18 +- .../javax/swing/filechooser/FileSystemView.java | 46 +- .../javax/swing/filechooser/FileView.java | 56 +- .../swing/filechooser/UnixFileSystemView.java | 42 +- .../javax/swing/plaf/BorderUIResource.java | 145 ++- .../classpath/javax/swing/plaf/ColorChooserUI.java | 1 - .../javax/swing/plaf/ColorUIResource.java | 4 +- libjava/classpath/javax/swing/plaf/ComboBoxUI.java | 6 +- .../swing/plaf/ComponentInputMapUIResource.java | 1 - .../classpath/javax/swing/plaf/ComponentUI.java | 28 +- .../classpath/javax/swing/plaf/FileChooserUI.java | 2 +- .../classpath/javax/swing/plaf/IconUIResource.java | 2 +- .../classpath/javax/swing/plaf/SplitPaneUI.java | 4 +- .../classpath/javax/swing/plaf/TabbedPaneUI.java | 7 +- libjava/classpath/javax/swing/plaf/TextUI.java | 10 +- libjava/classpath/javax/swing/plaf/UIResource.java | 12 +- .../javax/swing/plaf/basic/BasicArrowButton.java | 72 +- .../javax/swing/plaf/basic/BasicBorders.java | 102 +- .../swing/plaf/basic/BasicButtonListener.java | 50 +- .../javax/swing/plaf/basic/BasicButtonUI.java | 64 +- .../swing/plaf/basic/BasicCheckBoxMenuItemUI.java | 4 +- .../javax/swing/plaf/basic/BasicCheckBoxUI.java | 16 +- .../swing/plaf/basic/BasicColorChooserUI.java | 58 +- .../swing/plaf/basic/BasicComboBoxEditor.java | 6 +- .../swing/plaf/basic/BasicComboBoxRenderer.java | 8 +- .../javax/swing/plaf/basic/BasicComboBoxUI.java | 86 +- .../javax/swing/plaf/basic/BasicComboPopup.java | 28 +- .../javax/swing/plaf/basic/BasicDesktopIconUI.java | 72 +- .../javax/swing/plaf/basic/BasicDesktopPaneUI.java | 28 +- .../swing/plaf/basic/BasicDirectoryModel.java | 25 +- .../javax/swing/plaf/basic/BasicEditorPaneUI.java | 2 +- .../javax/swing/plaf/basic/BasicFileChooserUI.java | 152 +-- .../plaf/basic/BasicFormattedTextFieldUI.java | 2 +- .../javax/swing/plaf/basic/BasicGraphicsUtils.java | 32 +- .../javax/swing/plaf/basic/BasicHTML.java | 2 +- .../javax/swing/plaf/basic/BasicIconFactory.java | 64 +- .../plaf/basic/BasicInternalFrameTitlePane.java | 34 +- .../swing/plaf/basic/BasicInternalFrameUI.java | 74 +- .../javax/swing/plaf/basic/BasicLabelUI.java | 28 +- .../javax/swing/plaf/basic/BasicListUI.java | 74 +- .../javax/swing/plaf/basic/BasicLookAndFeel.java | 164 ++-- .../javax/swing/plaf/basic/BasicMenuBarUI.java | 22 +- .../javax/swing/plaf/basic/BasicMenuItemUI.java | 102 +- .../javax/swing/plaf/basic/BasicMenuUI.java | 8 +- .../javax/swing/plaf/basic/BasicOptionPaneUI.java | 370 +++---- .../javax/swing/plaf/basic/BasicPanelUI.java | 22 +- .../swing/plaf/basic/BasicPasswordFieldUI.java | 2 +- .../javax/swing/plaf/basic/BasicPopupMenuUI.java | 34 +- .../javax/swing/plaf/basic/BasicProgressBarUI.java | 84 +- .../javax/swing/plaf/basic/BasicRadioButtonUI.java | 26 +- .../javax/swing/plaf/basic/BasicRootPaneUI.java | 2 +- .../javax/swing/plaf/basic/BasicScrollBarUI.java | 168 ++-- .../javax/swing/plaf/basic/BasicScrollPaneUI.java | 132 ++- .../javax/swing/plaf/basic/BasicSeparatorUI.java | 38 +- .../javax/swing/plaf/basic/BasicSliderUI.java | 136 +-- .../javax/swing/plaf/basic/BasicSpinnerUI.java | 124 +-- .../swing/plaf/basic/BasicSplitPaneDivider.java | 320 +++--- .../javax/swing/plaf/basic/BasicSplitPaneUI.java | 50 +- .../javax/swing/plaf/basic/BasicTabbedPaneUI.java | 358 +++---- .../javax/swing/plaf/basic/BasicTableHeaderUI.java | 66 +- .../javax/swing/plaf/basic/BasicTableUI.java | 286 +++--- .../javax/swing/plaf/basic/BasicTextAreaUI.java | 10 +- .../javax/swing/plaf/basic/BasicTextFieldUI.java | 4 +- .../javax/swing/plaf/basic/BasicTextPaneUI.java | 2 +- .../javax/swing/plaf/basic/BasicTextUI.java | 34 +- .../swing/plaf/basic/BasicToggleButtonUI.java | 26 +- .../javax/swing/plaf/basic/BasicToolBarUI.java | 198 ++-- .../javax/swing/plaf/basic/BasicToolTipUI.java | 8 +- .../javax/swing/plaf/basic/BasicTreeUI.java | 436 ++++----- .../javax/swing/plaf/basic/BasicViewportUI.java | 6 +- .../javax/swing/plaf/metal/DefaultMetalTheme.java | 60 +- .../javax/swing/plaf/metal/MetalBorders.java | 334 +++---- .../swing/plaf/metal/MetalButtonListener.java | 12 +- .../javax/swing/plaf/metal/MetalButtonUI.java | 36 +- .../javax/swing/plaf/metal/MetalCheckBoxIcon.java | 2 +- .../javax/swing/plaf/metal/MetalCheckBoxUI.java | 5 +- .../swing/plaf/metal/MetalComboBoxButton.java | 58 +- .../swing/plaf/metal/MetalComboBoxEditor.java | 16 +- .../javax/swing/plaf/metal/MetalComboBoxIcon.java | 14 +- .../javax/swing/plaf/metal/MetalComboBoxUI.java | 80 +- .../javax/swing/plaf/metal/MetalFileChooserUI.java | 598 ++++++------ .../javax/swing/plaf/metal/MetalIconFactory.java | 1018 ++++++++++---------- .../plaf/metal/MetalInternalFrameTitlePane.java | 109 ++- .../swing/plaf/metal/MetalInternalFrameUI.java | 36 +- .../javax/swing/plaf/metal/MetalLabelUI.java | 6 +- .../javax/swing/plaf/metal/MetalLookAndFeel.java | 186 ++-- .../javax/swing/plaf/metal/MetalMenuBarUI.java | 4 +- .../javax/swing/plaf/metal/MetalProgressBarUI.java | 4 +- .../javax/swing/plaf/metal/MetalRadioButtonUI.java | 50 +- .../javax/swing/plaf/metal/MetalRootPaneUI.java | 56 +- .../javax/swing/plaf/metal/MetalScrollBarUI.java | 153 ++- .../javax/swing/plaf/metal/MetalScrollButton.java | 134 +-- .../javax/swing/plaf/metal/MetalScrollPaneUI.java | 36 +- .../javax/swing/plaf/metal/MetalSeparatorUI.java | 12 +- .../javax/swing/plaf/metal/MetalSliderUI.java | 136 +-- .../swing/plaf/metal/MetalSplitPaneDivider.java | 6 +- .../javax/swing/plaf/metal/MetalSplitPaneUI.java | 2 +- .../javax/swing/plaf/metal/MetalTabbedPaneUI.java | 146 +-- .../javax/swing/plaf/metal/MetalTextFieldUI.java | 4 +- .../javax/swing/plaf/metal/MetalTheme.java | 158 +-- .../swing/plaf/metal/MetalToggleButtonUI.java | 28 +- .../javax/swing/plaf/metal/MetalToolBarUI.java | 62 +- .../javax/swing/plaf/metal/MetalToolTipUI.java | 76 +- .../javax/swing/plaf/metal/MetalTreeUI.java | 68 +- .../javax/swing/plaf/metal/MetalUtils.java | 8 +- .../javax/swing/plaf/metal/OceanTheme.java | 10 +- .../javax/swing/plaf/multi/MultiButtonUI.java | 158 +-- .../swing/plaf/multi/MultiColorChooserUI.java | 162 ++-- .../javax/swing/plaf/multi/MultiComboBoxUI.java | 208 ++-- .../javax/swing/plaf/multi/MultiDesktopIconUI.java | 162 ++-- .../javax/swing/plaf/multi/MultiDesktopPaneUI.java | 160 +-- .../javax/swing/plaf/multi/MultiFileChooserUI.java | 248 ++--- .../swing/plaf/multi/MultiInternalFrameUI.java | 164 ++-- .../javax/swing/plaf/multi/MultiLabelUI.java | 160 +-- .../javax/swing/plaf/multi/MultiListUI.java | 214 ++-- .../javax/swing/plaf/multi/MultiLookAndFeel.java | 76 +- .../javax/swing/plaf/multi/MultiMenuBarUI.java | 160 +-- .../javax/swing/plaf/multi/MultiMenuItemUI.java | 160 +-- .../javax/swing/plaf/multi/MultiOptionPaneUI.java | 182 ++-- .../javax/swing/plaf/multi/MultiPanelUI.java | 160 +-- .../javax/swing/plaf/multi/MultiPopupMenuUI.java | 160 +-- .../javax/swing/plaf/multi/MultiProgressBarUI.java | 160 +-- .../javax/swing/plaf/multi/MultiRootPaneUI.java | 160 +-- .../javax/swing/plaf/multi/MultiScrollBarUI.java | 158 +-- .../javax/swing/plaf/multi/MultiScrollPaneUI.java | 160 +-- .../javax/swing/plaf/multi/MultiSeparatorUI.java | 160 +-- .../javax/swing/plaf/multi/MultiSliderUI.java | 160 +-- .../javax/swing/plaf/multi/MultiSpinnerUI.java | 160 +-- .../javax/swing/plaf/multi/MultiSplitPaneUI.java | 236 ++--- .../javax/swing/plaf/multi/MultiTabbedPaneUI.java | 218 ++--- .../javax/swing/plaf/multi/MultiTableHeaderUI.java | 160 +-- .../javax/swing/plaf/multi/MultiTableUI.java | 160 +-- .../javax/swing/plaf/multi/MultiTextUI.java | 310 +++--- .../javax/swing/plaf/multi/MultiToolBarUI.java | 160 +-- .../javax/swing/plaf/multi/MultiToolTipUI.java | 158 +-- .../javax/swing/plaf/multi/MultiTreeUI.java | 324 +++---- .../javax/swing/plaf/multi/MultiViewportUI.java | 160 +-- .../javax/swing/plaf/synth/SynthGraphicsUtils.java | 6 +- .../javax/swing/plaf/synth/SynthLookAndFeel.java | 2 +- .../javax/swing/plaf/synth/SynthPainter.java | 226 ++--- .../javax/swing/table/AbstractTableModel.java | 52 +- .../swing/table/DefaultTableCellRenderer.java | 10 +- .../javax/swing/table/DefaultTableColumnModel.java | 210 ++-- .../javax/swing/table/DefaultTableModel.java | 232 ++--- .../classpath/javax/swing/table/JTableHeader.java | 206 ++-- .../javax/swing/table/TableCellEditor.java | 4 +- .../javax/swing/table/TableCellRenderer.java | 4 +- .../classpath/javax/swing/table/TableColumn.java | 192 ++-- .../javax/swing/table/TableColumnModel.java | 64 +- .../classpath/javax/swing/table/TableModel.java | 38 +- .../javax/swing/text/AbstractDocument.java | 106 +- .../classpath/javax/swing/text/AbstractWriter.java | 84 +- .../classpath/javax/swing/text/AsyncBoxView.java | 20 +- .../classpath/javax/swing/text/AttributeSet.java | 6 +- libjava/classpath/javax/swing/text/BoxView.java | 18 +- libjava/classpath/javax/swing/text/Caret.java | 16 +- .../classpath/javax/swing/text/ComponentView.java | 4 +- .../classpath/javax/swing/text/CompositeView.java | 22 +- .../classpath/javax/swing/text/DefaultCaret.java | 202 ++-- .../javax/swing/text/DefaultEditorKit.java | 128 +-- .../javax/swing/text/DefaultFormatter.java | 16 +- .../javax/swing/text/DefaultFormatterFactory.java | 62 +- .../javax/swing/text/DefaultHighlighter.java | 168 ++-- .../javax/swing/text/DefaultStyledDocument.java | 136 +-- .../classpath/javax/swing/text/DocumentFilter.java | 16 +- libjava/classpath/javax/swing/text/EditorKit.java | 2 +- libjava/classpath/javax/swing/text/Element.java | 2 +- .../javax/swing/text/ElementIterator.java | 10 +- .../javax/swing/text/EmptyAttributeSet.java | 2 +- libjava/classpath/javax/swing/text/FieldView.java | 68 +- libjava/classpath/javax/swing/text/FlowView.java | 6 +- libjava/classpath/javax/swing/text/GapContent.java | 76 +- libjava/classpath/javax/swing/text/GlyphView.java | 18 +- .../classpath/javax/swing/text/Highlighter.java | 3 +- .../javax/swing/text/InternationalFormatter.java | 2 +- .../classpath/javax/swing/text/JTextComponent.java | 126 +-- libjava/classpath/javax/swing/text/Keymap.java | 28 +- .../javax/swing/text/LayeredHighlighter.java | 6 +- .../classpath/javax/swing/text/LayoutQueue.java | 32 +- .../classpath/javax/swing/text/MaskFormatter.java | 114 +-- .../javax/swing/text/MutableAttributeSet.java | 42 +- .../javax/swing/text/NavigationFilter.java | 6 +- .../javax/swing/text/NumberFormatter.java | 16 +- .../classpath/javax/swing/text/ParagraphView.java | 2 +- .../classpath/javax/swing/text/PasswordView.java | 18 +- .../classpath/javax/swing/text/PlainDocument.java | 16 +- libjava/classpath/javax/swing/text/PlainView.java | 77 +- libjava/classpath/javax/swing/text/Position.java | 6 +- libjava/classpath/javax/swing/text/Segment.java | 108 +-- .../javax/swing/text/SimpleAttributeSet.java | 114 +-- .../classpath/javax/swing/text/StringContent.java | 79 +- libjava/classpath/javax/swing/text/Style.java | 2 +- .../classpath/javax/swing/text/StyleConstants.java | 602 ++++++------ .../classpath/javax/swing/text/StyleContext.java | 88 +- .../classpath/javax/swing/text/StyledDocument.java | 4 +- .../javax/swing/text/StyledEditorKit.java | 82 +- .../classpath/javax/swing/text/TabExpander.java | 2 +- libjava/classpath/javax/swing/text/TabSet.java | 60 +- libjava/classpath/javax/swing/text/TabStop.java | 60 +- .../classpath/javax/swing/text/TabableView.java | 2 +- libjava/classpath/javax/swing/text/TableView.java | 4 +- libjava/classpath/javax/swing/text/TextAction.java | 52 +- libjava/classpath/javax/swing/text/Utilities.java | 116 +-- libjava/classpath/javax/swing/text/View.java | 36 +- .../classpath/javax/swing/text/ViewFactory.java | 2 +- .../javax/swing/text/WrappedPlainView.java | 202 ++-- .../classpath/javax/swing/text/html/BRView.java | 4 +- .../classpath/javax/swing/text/html/BlockView.java | 70 +- libjava/classpath/javax/swing/text/html/CSS.java | 4 +- .../classpath/javax/swing/text/html/CSSBorder.java | 2 +- .../classpath/javax/swing/text/html/CSSParser.java | 106 +- .../classpath/javax/swing/text/html/FormView.java | 8 +- .../classpath/javax/swing/text/html/HRuleView.java | 28 +- .../javax/swing/text/html/HTMLDocument.java | 378 ++++---- .../javax/swing/text/html/HTMLEditorKit.java | 264 ++--- .../javax/swing/text/html/HTMLWriter.java | 48 +- .../classpath/javax/swing/text/html/ImageView.java | 64 +- .../javax/swing/text/html/InlineView.java | 2 +- .../classpath/javax/swing/text/html/ListView.java | 2 +- .../javax/swing/text/html/MinimalHTMLWriter.java | 164 ++-- .../javax/swing/text/html/MultiAttributeSet.java | 2 +- .../javax/swing/text/html/MultiStyle.java | 2 +- .../javax/swing/text/html/ParagraphView.java | 2 +- .../javax/swing/text/html/StyleSheet.java | 232 ++--- .../classpath/javax/swing/text/html/TableView.java | 2 +- .../javax/swing/text/html/ViewAttributeSet.java | 2 +- .../javax/swing/text/html/parser/Entity.java | 8 +- .../javax/swing/text/html/parser/Parser.java | 2 +- .../classpath/javax/swing/text/rtf/RTFParser.java | 2 +- .../classpath/javax/swing/text/rtf/RTFScanner.java | 2 +- .../javax/swing/tree/AbstractLayoutCache.java | 90 +- .../javax/swing/tree/DefaultMutableTreeNode.java | 138 +-- .../javax/swing/tree/DefaultTreeCellEditor.java | 148 +-- .../javax/swing/tree/DefaultTreeCellRenderer.java | 190 ++-- .../javax/swing/tree/DefaultTreeModel.java | 128 +-- .../swing/tree/DefaultTreeSelectionModel.java | 112 +-- .../javax/swing/tree/ExpandVetoException.java | 12 +- .../javax/swing/tree/FixedHeightLayoutCache.java | 150 +-- .../javax/swing/tree/MutableTreeNode.java | 4 +- libjava/classpath/javax/swing/tree/RowMapper.java | 4 +- .../classpath/javax/swing/tree/TreeCellEditor.java | 12 +- .../javax/swing/tree/TreeCellRenderer.java | 8 +- libjava/classpath/javax/swing/tree/TreeNode.java | 35 +- libjava/classpath/javax/swing/tree/TreePath.java | 62 +- .../javax/swing/tree/TreeSelectionModel.java | 2 +- .../swing/tree/VariableHeightLayoutCache.java | 122 +-- .../javax/swing/undo/AbstractUndoableEdit.java | 24 +- .../classpath/javax/swing/undo/CompoundEdit.java | 14 +- libjava/classpath/javax/swing/undo/StateEdit.java | 18 +- .../classpath/javax/swing/undo/UndoManager.java | 6 +- .../classpath/javax/swing/undo/UndoableEdit.java | 16 +- 421 files changed, 15279 insertions(+), 15319 deletions(-) (limited to 'libjava/classpath/javax/swing') diff --git a/libjava/classpath/javax/swing/AbstractAction.java b/libjava/classpath/javax/swing/AbstractAction.java index ffd122f..535a3e7 100644 --- a/libjava/classpath/javax/swing/AbstractAction.java +++ b/libjava/classpath/javax/swing/AbstractAction.java @@ -47,7 +47,7 @@ import javax.swing.event.SwingPropertyChangeSupport; /** * A base class for implementing the {@link Action} interface. - * + * * @author Andrew Selkirk */ public abstract class AbstractAction @@ -59,9 +59,9 @@ public abstract class AbstractAction * A flag that indicates whether or not the action is enabled. */ protected boolean enabled = true; - + /** - * Provides support for property change event notification. + * Provides support for property change event notification. */ protected SwingPropertyChangeSupport changeSupport = new SwingPropertyChangeSupport(this); @@ -80,7 +80,7 @@ public abstract class AbstractAction } /** - * Creates a new action with the specified name. The name is stored as a + * Creates a new action with the specified name. The name is stored as a * property with the key {@link Action#NAME}, and no other properties are * initialised. * @@ -94,7 +94,7 @@ public abstract class AbstractAction /** * Creates a new action with the specified name and icon. The name is stored * as a property with the key {@link Action#NAME}, the icon is stored as a - * property with the key {@link Action#SMALL_ICON}, and no other properties + * property with the key {@link Action#SMALL_ICON}, and no other properties * are initialised. * * @param name the name (null permitted). @@ -123,12 +123,12 @@ public abstract class AbstractAction /** * Returns the value associated with the specified key. - * + * * @param key the key (not null). - * - * @return The value associated with the specified key, or + * + * @return The value associated with the specified key, or * null if the key is not found. - * + * * @see #putValue(String, Object) */ public Object getValue(String key) @@ -137,20 +137,20 @@ public abstract class AbstractAction } /** - * Sets the value associated with the specified key and sends a - * {@link java.beans.PropertyChangeEvent} to all registered listeners. - * The standard keys are: + * Sets the value associated with the specified key and sends a + * {@link java.beans.PropertyChangeEvent} to all registered listeners. + * The standard keys are: * * Any existing value associated with the key will be overwritten. - * + * * @param key the key (not null). * @param value the value (null permitted). */ @@ -168,7 +168,7 @@ public abstract class AbstractAction * Returns the flag that indicates whether or not the action is enabled. * * @return The flag. - * + * * @see #setEnabled(boolean) */ public boolean isEnabled() @@ -178,12 +178,12 @@ public abstract class AbstractAction /** * Sets the flag that indicates whether or not the action is enabled and, if - * the value of the flag changed from the previous setting, sends a - * {@link java.beans.PropertyChangeEvent} to all registered listeners (using + * the value of the flag changed from the previous setting, sends a + * {@link java.beans.PropertyChangeEvent} to all registered listeners (using * the property name 'enabled'). * * @param enabled the new flag value. - * + * * @see #isEnabled() */ public void setEnabled(boolean enabled) @@ -196,10 +196,10 @@ public abstract class AbstractAction } /** - * Returns an array of the keys for the property values that have been + * Returns an array of the keys for the property values that have been * defined via the {@link #putValue(String, Object)} method (or the class * constructor). - * + * * @return An array of keys. */ public Object[] getKeys() @@ -208,7 +208,7 @@ public abstract class AbstractAction } /** - * Sends a {@link PropertyChangeEvent} for the named property to all + * Sends a {@link PropertyChangeEvent} for the named property to all * registered listeners. * * @param propertyName the property name. @@ -220,17 +220,17 @@ public abstract class AbstractAction { changeSupport.firePropertyChange(propertyName, oldValue, newValue); } - + /** * Sends a {@link PropertyChangeEvent} for the named property to all - * registered listeners. This private method is called by the + * registered listeners. This private method is called by the * {@link #setEnabled(boolean)} method. * * @param propertyName the property name. * @param oldValue the old value of the property. * @param newValue the new value of the property. */ - private void firePropertyChange(String propertyName, boolean oldValue, + private void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) { changeSupport.firePropertyChange(propertyName, oldValue, newValue); @@ -241,7 +241,7 @@ public abstract class AbstractAction * from this action. * * @param listener the listener. - * + * * @see #removePropertyChangeListener(PropertyChangeListener) */ public void addPropertyChangeListener(PropertyChangeListener listener) @@ -250,11 +250,11 @@ public abstract class AbstractAction } /** - * Deregisters a listener so that it no longer receives + * Deregisters a listener so that it no longer receives * {@link PropertyChangeEvent} notifications from this action. * * @param listener the listener. - * + * * @see #addPropertyChangeListener(PropertyChangeListener) */ public void removePropertyChangeListener(PropertyChangeListener listener) @@ -266,7 +266,7 @@ public abstract class AbstractAction * Returns all registered listeners. * * @return An array of listeners. - * + * * @since 1.4 */ public PropertyChangeListener[] getPropertyChangeListeners() diff --git a/libjava/classpath/javax/swing/AbstractButton.java b/libjava/classpath/javax/swing/AbstractButton.java index 8764f6f..6cbc775 100644 --- a/libjava/classpath/javax/swing/AbstractButton.java +++ b/libjava/classpath/javax/swing/AbstractButton.java @@ -129,11 +129,11 @@ import javax.swing.text.View; * *

The various behavioral aspects of these properties follows:

* - * + * + * @param orientation the orientation ({@link #HORIZONTAL} or * {@link #VERTICAL}). - * + * * @throws IllegalArgumentException if orientation is not one of * the specified values. */ @@ -289,8 +289,8 @@ public class JProgressBar extends JComponent implements SwingConstants, * - * + * + * * @param minimum the lower bound of the value range. * @param maximum the upper bound of the value range. */ @@ -305,13 +305,13 @@ public class JProgressBar extends JComponent implements SwingConstants, *

*

- * + * + * * @param minimum the lower bound of the value range. * @param maximum the upper bound of the value range. - * @param orientation the orientation ({@link #HORIZONTAL} or + * @param orientation the orientation ({@link #HORIZONTAL} or * {@link #VERTICAL}). - * + * * @throws IllegalArgumentException if orientation is not one of * the specified values. */ @@ -320,7 +320,7 @@ public class JProgressBar extends JComponent implements SwingConstants, model = new DefaultBoundedRangeModel(minimum, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation - + " is not a legal orientation"); + + " is not a legal orientation"); this.orientation = orientation; changeListener = createChangeListener(); model.addChangeListener(changeListener); @@ -333,8 +333,8 @@ public class JProgressBar extends JComponent implements SwingConstants, *

*

- * + * + * * @param model the model (null not permitted). */ public JProgressBar(BoundedRangeModel model) @@ -343,15 +343,15 @@ public class JProgressBar extends JComponent implements SwingConstants, changeListener = createChangeListener(); if (model != null) model.addChangeListener(changeListener); - updateUI(); + updateUI(); } /** - * Returns the current value for the JProgressBar. This value + * Returns the current value for the JProgressBar. This value * is fetched from the model. * * @return The current value. - * + * * @see #setValue(int) */ public int getValue() @@ -361,18 +361,18 @@ public class JProgressBar extends JComponent implements SwingConstants, /** * Sets the current value for the JProgressBar. The value is - * stored in the component's model (see {@link #getModel()}). - * If the new value is different to the old value, a {@link ChangeEvent} is - * sent to the model's registered listeners. In turn, this triggers a call - * to {@link #fireStateChanged()} which will send a ChangeEvent + * stored in the component's model (see {@link #getModel()}). + * If the new value is different to the old value, a {@link ChangeEvent} is + * sent to the model's registered listeners. In turn, this triggers a call + * to {@link #fireStateChanged()} which will send a ChangeEvent * to this component's registered listeners. *

- * If value is outside the range minimum to - * maximum, it will be set to the nearest of those boundary + * If value is outside the range minimum to + * maximum, it will be set to the nearest of those boundary * values. * * @param value the new value. - * + * * @see #getValue() */ public void setValue(int value) @@ -385,7 +385,7 @@ public class JProgressBar extends JComponent implements SwingConstants, * returns true. * * @param graphics the graphics object to paint with. - * + * * @see #setBorderPainted(boolean) */ protected void paintBorder(Graphics graphics) @@ -397,12 +397,12 @@ public class JProgressBar extends JComponent implements SwingConstants, /** * Returns the orientation of the JProgressBar component, which - * is either {@link SwingConstants#HORIZONTAL} or - * {@link SwingConstants#VERTICAL}. The default orientation is + * is either {@link SwingConstants#HORIZONTAL} or + * {@link SwingConstants#VERTICAL}. The default orientation is * HORIZONTAL. * * @return The orientation. - * + * * @see #setOrientation(int) */ public int getOrientation() @@ -412,22 +412,22 @@ public class JProgressBar extends JComponent implements SwingConstants, /** * Sets the orientation for this JProgressBar component and, - * if the value changes, sends a {@link PropertyChangeEvent} (with the + * if the value changes, sends a {@link PropertyChangeEvent} (with the * property name "orientation") to all registered listeners. * - * @param orientation the orientation ({@link #HORIZONTAL} or + * @param orientation the orientation ({@link #HORIZONTAL} or * {@link #VERTICAL}). - * + * * @throws IllegalArgumentException if orientation is not * one of the listed values. - * + * * @see #getOrientation() */ public void setOrientation(int orientation) { if (orientation != VERTICAL && orientation != HORIZONTAL) throw new IllegalArgumentException(orientation - + " is not a legal orientation"); + + " is not a legal orientation"); if (this.orientation != orientation) { int oldOrientation = this.orientation; @@ -438,12 +438,12 @@ public class JProgressBar extends JComponent implements SwingConstants, /** * Returns the flag that controls whether or not the string returned by - * {@link #getString()} is displayed by the JProgressBar + * {@link #getString()} is displayed by the JProgressBar * component. * - * @return true if the string should be displayed, and + * @return true if the string should be displayed, and * false otherwise. - * + * * @see #setStringPainted(boolean) */ public boolean isStringPainted() @@ -453,13 +453,13 @@ public class JProgressBar extends JComponent implements SwingConstants, /** * Sets the flag that controls whether or not the string returned by - * {@link #getString()} is displayed by the JProgressBar - * component. If the flag value changes, a {@link PropertyChangeEvent} (with - * the property name "stringPainted") is sent to all registered + * {@link #getString()} is displayed by the JProgressBar + * component. If the flag value changes, a {@link PropertyChangeEvent} (with + * the property name "stringPainted") is sent to all registered * listeners. * * @param painted the new flag value. - * + * * @see #isStringPainted() * @see #setString(String) */ @@ -474,13 +474,13 @@ public class JProgressBar extends JComponent implements SwingConstants, } /** - * Returns the string that is painted on the JProgressBar if - * {@link #isStringPainted()} returns true. If no string has - * been explicitly set, this method will return a string displaying the + * Returns the string that is painted on the JProgressBar if + * {@link #isStringPainted()} returns true. If no string has + * been explicitly set, this method will return a string displaying the * value of {@link #getPercentComplete()}. * * @return The string. - * + * * @see #setString(String) * @see #setStringPainted(boolean) */ @@ -494,13 +494,13 @@ public class JProgressBar extends JComponent implements SwingConstants, /** * Sets the string to display within the progress bar and, if the new value - * is different to the old value, sends a {@link PropertyChangeEvent} (with - * the property name "string") to all registered listeners. If + * is different to the old value, sends a {@link PropertyChangeEvent} (with + * the property name "string") to all registered listeners. If * the string is set to null, {@link #getString()} will return * a default string. * * @param string the string (null permitted). - * + * * @see #getString() * @see #setStringPainted(boolean) */ @@ -508,7 +508,7 @@ public class JProgressBar extends JComponent implements SwingConstants, { if (((string == null || progressString == null) && string != progressString) || (string != null && - ! string.equals(progressString))) + ! string.equals(progressString))) { String oldString = progressString; progressString = string; @@ -517,7 +517,7 @@ public class JProgressBar extends JComponent implements SwingConstants, } /** - * Returns the current value expressed as a percentage. This is calculated + * Returns the current value expressed as a percentage. This is calculated * as (value - min) / (max - min). * * @return The percentage (a value in the range 0.0 to 1.0). @@ -527,7 +527,7 @@ public class JProgressBar extends JComponent implements SwingConstants, if (getMaximum() == getMinimum()) return 1.0; else - return (double) (model.getValue() - model.getMinimum()) + return (double) (model.getValue() - model.getMinimum()) / (model.getMaximum() - model.getMinimum()); } @@ -537,7 +537,7 @@ public class JProgressBar extends JComponent implements SwingConstants, * * @return true if the component's border should be painted, * and false otherwise. - * + * * @see #setBorderPainted(boolean) */ public boolean isBorderPainted() @@ -547,12 +547,12 @@ public class JProgressBar extends JComponent implements SwingConstants, /** * Sets the flag that controls whether or not the component's border is - * painted. If the flag value is changed, this method sends a - * {@link PropertyChangeEvent} (with the property name "borderPainted") to + * painted. If the flag value is changed, this method sends a + * {@link PropertyChangeEvent} (with the property name "borderPainted") to * all registered listeners. * * @param painted the new flag value. - * + * * @see #isBorderPainted() * @see #paintBorder */ @@ -587,7 +587,7 @@ public class JProgressBar extends JComponent implements SwingConstants, } /** - * Sets this JProgressBar's UI delegate to the default + * Sets this JProgressBar's UI delegate to the default * (obtained from the {@link UIManager}) for the current look and feel. */ public void updateUI() @@ -596,8 +596,8 @@ public class JProgressBar extends JComponent implements SwingConstants, } /** - * Returns the suffix ("ProgressBarUI" in this case) used to - * determine the class name for a UI delegate that can provide the look and + * Returns the suffix ("ProgressBarUI" in this case) used to + * determine the class name for a UI delegate that can provide the look and * feel for a JProgressBar. * * @return "ProgressBarUI". @@ -608,11 +608,11 @@ public class JProgressBar extends JComponent implements SwingConstants, } /** - * Creates a new {@link ChangeListener} that calls + * Creates a new {@link ChangeListener} that calls * {@link #fireStateChanged()} whenever it receives a {@link ChangeEvent} - * (typically from the component's model). This listener is - * registered with the progress bar's model, so that changes made to the - * model directly will automatically result in the progress bar's listeners + * (typically from the component's model). This listener is + * registered with the progress bar's model, so that changes made to the + * model directly will automatically result in the progress bar's listeners * being notified also. * * @return A new listener. @@ -624,16 +624,16 @@ public class JProgressBar extends JComponent implements SwingConstants, public void stateChanged(ChangeEvent ce) { fireStateChanged(); - } + } }; } /** - * Registers a listener with this component so that it will receive + * Registers a listener with this component so that it will receive * notification of component state changes. * * @param listener the listener. - * + * * @see #removeChangeListener(ChangeListener) */ public void addChangeListener(ChangeListener listener) @@ -646,31 +646,31 @@ public class JProgressBar extends JComponent implements SwingConstants, * component state changes. * * @param listener the listener. - * + * * @see #addChangeListener(ChangeListener) */ public void removeChangeListener(ChangeListener listener) { listenerList.remove(ChangeListener.class, listener); } - + /** * Returns an array of the listeners that are registered with this component. * The array may be empty, but is never null. * * @return An array of listeners. - * + * * @since 1.4 */ public ChangeListener[] getChangeListeners() { return (ChangeListener[]) listenerList.getListeners(ChangeListener.class); - } + } /** * Sends a {@link ChangeEvent} to all registered listeners to indicate that - * the state of the JProgressBar has changed. - * + * the state of the JProgressBar has changed. + * * @see #createChangeListener() */ protected void fireStateChanged() @@ -689,7 +689,7 @@ public class JProgressBar extends JComponent implements SwingConstants, * Returns the model for the JProgressBar. * * @return The model (never null). - * + * * @see #setModel(BoundedRangeModel) */ public BoundedRangeModel getModel() @@ -698,11 +698,11 @@ public class JProgressBar extends JComponent implements SwingConstants, } /** - * Sets the model for the JProgressBar and sends a + * Sets the model for the JProgressBar and sends a * {@link ChangeEvent} to all registered listeners. * * @param model the model (null not permitted). - * + * * @see #getModel() */ public void setModel(BoundedRangeModel model) @@ -717,12 +717,12 @@ public class JProgressBar extends JComponent implements SwingConstants, } /** - * Returns the minimum value for the JProgressBar. This defines - * the lower bound for the current value, and is stored in the component's + * Returns the minimum value for the JProgressBar. This defines + * the lower bound for the current value, and is stored in the component's * model. * * @return The minimum value. - * + * * @see #setMinimum(int) */ public int getMinimum() @@ -732,14 +732,14 @@ public class JProgressBar extends JComponent implements SwingConstants, /** * Sets the minimum value for the JProgressBar. The value is - * stored in the component's model (see {@link #getModel()}). - * If the new value is different to the old value, a {@link ChangeEvent} is - * sent to the model's registered listeners. In turn, this triggers a call - * to {@link #fireStateChanged()} which will send a ChangeEvent + * stored in the component's model (see {@link #getModel()}). + * If the new value is different to the old value, a {@link ChangeEvent} is + * sent to the model's registered listeners. In turn, this triggers a call + * to {@link #fireStateChanged()} which will send a ChangeEvent * to this component's registered listeners. - * + * * @param minimum the minimum value. - * + * * @see #getMinimum() */ public void setMinimum(int minimum) @@ -748,12 +748,12 @@ public class JProgressBar extends JComponent implements SwingConstants, } /** - * Returns the maximum value for the JProgressBar. This defines - * the upper bound for the current value, and is stored in the component's + * Returns the maximum value for the JProgressBar. This defines + * the upper bound for the current value, and is stored in the component's * model. * * @return The maximum value. - * + * * @see #setMaximum(int) */ public int getMaximum() @@ -763,14 +763,14 @@ public class JProgressBar extends JComponent implements SwingConstants, /** * Sets the maximum value for the JProgressBar. The value is - * stored in the component's model (see {@link #getModel()}). - * If the new value is different to the old value, a {@link ChangeEvent} is - * sent to the model's registered listeners. In turn, this triggers a call - * to {@link #fireStateChanged()} which will send a ChangeEvent + * stored in the component's model (see {@link #getModel()}). + * If the new value is different to the old value, a {@link ChangeEvent} is + * sent to the model's registered listeners. In turn, this triggers a call + * to {@link #fireStateChanged()} which will send a ChangeEvent * to this component's registered listeners. * * @param maximum the maximum value. - * + * * @see #getMaximum() */ public void setMaximum(int maximum) @@ -782,7 +782,7 @@ public class JProgressBar extends JComponent implements SwingConstants, * Returns an implementation-dependent string describing the attributes of * this JProgressBar. * - * @return A string describing the attributes of this + * @return A string describing the attributes of this * JProgressBar (never null). */ protected String paramString() @@ -806,17 +806,17 @@ public class JProgressBar extends JComponent implements SwingConstants, /** * Sets the flag that controls the mode for this JProgressBar * (true for indeterminate mode, and false for - * determinate mode). If the flag value changes, this method sends a - * {@link PropertyChangeEvent} (with the property name + * determinate mode). If the flag value changes, this method sends a + * {@link PropertyChangeEvent} (with the property name * "indeterminate") to all registered listeners. *

* If the JProgressBar is determinate, it paints a percentage - * of the bar described by its value. If it is indeterminate, it simply - * bounces a box between the ends of the bar; the value of the + * of the bar described by its value. If it is indeterminate, it simply + * bounces a box between the ends of the bar; the value of the * JProgressBar is ignored. * * @param flag the new flag value. - * + * * @see #isIndeterminate() * @since 1.4 */ @@ -831,11 +831,11 @@ public class JProgressBar extends JComponent implements SwingConstants, /** * Returns a flag that indicates the mode for this JProgressBar - * (true for indeterminate mode, and false for - * determinate mode). + * (true for indeterminate mode, and false for + * determinate mode). * * @return A flag indicating the mode for the JProgressBar. - * + * * @see #setIndeterminate(boolean) * @since 1.4 */ @@ -848,14 +848,14 @@ public class JProgressBar extends JComponent implements SwingConstants, * Returns the object that provides accessibility features for this * JProgressBar component. * - * @return The accessible context (an instance of + * @return The accessible context (an instance of * {@link AccessibleJProgressBar}). */ public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJProgressBar(); - + return accessibleContext; - } + } } diff --git a/libjava/classpath/javax/swing/JRadioButton.java b/libjava/classpath/javax/swing/JRadioButton.java index e0593f3..ae42f2c 100644 --- a/libjava/classpath/javax/swing/JRadioButton.java +++ b/libjava/classpath/javax/swing/JRadioButton.java @@ -1,4 +1,4 @@ -/* JRadioButton.java -- +/* JRadioButton.java -- Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -105,12 +105,12 @@ public class JRadioButton extends JToggleButton /** * Constructs an unselected radio button with no text or icon. - */ + */ public JRadioButton() { this(null, null, false); } - + /** * Constructs a radio button using the labelling, state * and icon specified by the supplied action. @@ -130,10 +130,10 @@ public class JRadioButton extends JToggleButton * @param icon the icon to use. */ public JRadioButton(Icon icon) - { + { this(null, icon, false); - } - + } + /** * Constructs a radio button with the supplied icon and state. * @@ -142,10 +142,10 @@ public class JRadioButton extends JToggleButton * selected state. Otherwise, the button is unselected. */ public JRadioButton(Icon icon, boolean selected) - { + { this(null, icon, selected); - } - + } + /** * Constructs an unselected radio button using the supplied text * and no icon. @@ -168,7 +168,7 @@ public class JRadioButton extends JToggleButton { this(text, null, selected); } - + /** * Constructs an unselected radio button with the supplied text * and icon. @@ -180,7 +180,7 @@ public class JRadioButton extends JToggleButton { this(text, icon, false); } - + /** * Constructs a radio button with the supplied text, icon and state. * @@ -195,7 +195,7 @@ public class JRadioButton extends JToggleButton setBorderPainted(false); setHorizontalAlignment(LEADING); } - + /** * Returns the accessible context for this JRadioButton, * in the form of an instance of AccessibleJRadioButton. @@ -209,23 +209,23 @@ public class JRadioButton extends JToggleButton if (accessibleContext == null) { /* Create the context */ - accessibleContext = new AccessibleJRadioButton(); + accessibleContext = new AccessibleJRadioButton(); } return accessibleContext; } - + /** * Returns a string specifying the name of the Look and Feel UI class * that renders this component. * * @return the Look and Feel UI class for JRadioButtons * as a String. - */ + */ public String getUIClassID() { return "RadioButtonUI"; } - + /** * Returns a string representation of this component for debugging use. * Users should not depend on anything as regards the content or formatting @@ -233,19 +233,19 @@ public class JRadioButton extends JToggleButton * null (only empty). * * @return the component in String form for debugging. - */ + */ protected String paramString() { return super.paramString(); } - + /** * This method resets the radio button's UI delegate to the default UI for * the current look and feel. */ public void updateUI() { - /* + /* I can't see any difference between this and the superclass one, but Sun reimplements it... there is no RadioButtonUI class for it to be cast to. @@ -254,6 +254,3 @@ public class JRadioButton extends JToggleButton } } - - - diff --git a/libjava/classpath/javax/swing/JRadioButtonMenuItem.java b/libjava/classpath/javax/swing/JRadioButtonMenuItem.java index 13ef189..48fc9ae 100644 --- a/libjava/classpath/javax/swing/JRadioButtonMenuItem.java +++ b/libjava/classpath/javax/swing/JRadioButtonMenuItem.java @@ -169,12 +169,12 @@ public class JRadioButtonMenuItem extends JMenuItem implements Accessible } /** - * Returns a string describing the attributes for the - * JRadioButtonMenuItem component, for use in debugging. The - * return value is guaranteed to be non-null, but the format of + * Returns a string describing the attributes for the + * JRadioButtonMenuItem component, for use in debugging. The + * return value is guaranteed to be non-null, but the format of * the string may vary between implementations. * - * @return A string describing the attributes of the + * @return A string describing the attributes of the * JRadioButtonMenuItem. */ protected String paramString() @@ -187,7 +187,7 @@ public class JRadioButtonMenuItem extends JMenuItem implements Accessible * Returns the object that provides accessibility features for this * JRadioButtonMenuItem component. * - * @return The accessible context (an instance of + * @return The accessible context (an instance of * {@link AccessibleJRadioButtonMenuItem}). */ public AccessibleContext getAccessibleContext() @@ -199,9 +199,9 @@ public class JRadioButtonMenuItem extends JMenuItem implements Accessible } /** - * Provides the accessibility features for the + * Provides the accessibility features for the * JRadioButtonMenuItem component. - * + * * @see JRadioButtonMenuItem#getAccessibleContext() */ protected class AccessibleJRadioButtonMenuItem extends AccessibleJMenuItem @@ -217,7 +217,7 @@ public class JRadioButtonMenuItem extends JMenuItem implements Accessible } /** - * Returns the accessible role for the JRadioButtonMenuItem + * Returns the accessible role for the JRadioButtonMenuItem * component. * * @return {@link AccessibleRole#RADIO_BUTTON}. diff --git a/libjava/classpath/javax/swing/JRootPane.java b/libjava/classpath/javax/swing/JRootPane.java index 10fdf10..c74f4f5 100644 --- a/libjava/classpath/javax/swing/JRootPane.java +++ b/libjava/classpath/javax/swing/JRootPane.java @@ -93,7 +93,7 @@ public class JRootPane extends JComponent implements Accessible } } - // Custom Layout Manager for JRootPane. It positions contentPane and + // Custom Layout Manager for JRootPane. It positions contentPane and // menuBar withing its layeredPane. protected class RootLayout implements LayoutManager2, Serializable { @@ -125,7 +125,7 @@ public class JRootPane extends JComponent implements Accessible */ protected RootLayout() { - // Nothing to do here. + // Nothing to do here. } /** @@ -208,7 +208,7 @@ public class JRootPane extends JComponent implements Accessible // 2. the layeredPane filles entire viewable region. // 3. the menuBar is positioned at the upper edge of layeredPane. // 4. the contentPane fills viewable region minus menuBar, if present. - + // +-------------------------------+ // | JLayeredPane | @@ -237,7 +237,7 @@ public class JRootPane extends JComponent implements Accessible else contentPaneBounds = new Rectangle(0, 0, containerWidth, containerHeight); - + glassPaneBounds = new Rectangle(i.left, i.top, containerWidth, containerHeight); layeredPaneBounds = new Rectangle(i.left, i.top, containerWidth, containerHeight); } @@ -321,7 +321,7 @@ public class JRootPane extends JComponent implements Accessible public static final int FILE_CHOOSER_DIALOG = 6; public static final int QUESTION_DIALOG = 7; public static final int WARNING_DIALOG = 8; - + /** DOCUMENT ME! */ protected Component glassPane; @@ -366,7 +366,7 @@ public class JRootPane extends JComponent implements Accessible * @since 1.4 */ private int windowDecorationStyle = NONE; - + /** * DOCUMENT ME! * @@ -432,7 +432,7 @@ public class JRootPane extends JComponent implements Accessible /** * Sets the JRootPane's content pane. The content pane should typically be - * opaque for painting to work properly. This method also + * opaque for painting to work properly. This method also * removes the old content pane from the layered pane. * * @param p the Container that will be the content pane @@ -505,10 +505,10 @@ public class JRootPane extends JComponent implements Accessible } /** - * Set the layered pane for the root pane. + * Set the layered pane for the root pane. * * @param f The JLayeredPane to be used. - * + * * @throws IllegalComponentStateException if JLayeredPane * parameter is null. */ @@ -516,10 +516,10 @@ public class JRootPane extends JComponent implements Accessible { if (f == null) throw new IllegalComponentStateException(); - + if (layeredPane != null) remove(layeredPane); - + layeredPane = f; add(f, -1); } @@ -628,7 +628,7 @@ public class JRootPane extends JComponent implements Accessible { return defaultButton; } - + public void setDefaultButton(JButton newButton) { // We only change the default button if the new button is defaultCapable @@ -665,7 +665,7 @@ public class JRootPane extends JComponent implements Accessible && style != WARNING_DIALOG && style != PLAIN_DIALOG) throw new IllegalArgumentException("invalid style"); - + int oldStyle = windowDecorationStyle; windowDecorationStyle = style; firePropertyChange("windowDecorationStyle", oldStyle, style); diff --git a/libjava/classpath/javax/swing/JScrollBar.java b/libjava/classpath/javax/swing/JScrollBar.java index 371bb60..a600316 100644 --- a/libjava/classpath/javax/swing/JScrollBar.java +++ b/libjava/classpath/javax/swing/JScrollBar.java @@ -57,7 +57,7 @@ import javax.swing.event.ChangeListener; import javax.swing.plaf.ScrollBarUI; /** - * The JScrollBar. Two buttons control how the values that the + * The JScrollBar. Two buttons control how the values that the * scroll bar can take. You can also drag the thumb or click the track * to move the scroll bar. Typically, the JScrollBar is used with * other components to translate the value of the bar to the viewable @@ -73,7 +73,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible implements AccessibleValue { private static final long serialVersionUID = -7758162392045586663L; - + /** * Creates a new AccessibleJScrollBar instance. */ @@ -83,7 +83,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible } /** - * Returns a set containing the current state of the {@link JScrollBar} + * Returns a set containing the current state of the {@link JScrollBar} * component. * * @return The accessible state set. @@ -109,7 +109,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible } /** - * Returns an object that provides access to the current, minimum and + * Returns an object that provides access to the current, minimum and * maximum values. * * @return The accessible value. @@ -132,14 +132,14 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible /** * Sets the current value of the {@link JScrollBar} component and sends a - * {@link PropertyChangeEvent} (with the property name + * {@link PropertyChangeEvent} (with the property name * {@link AccessibleContext#ACCESSIBLE_VALUE_PROPERTY}) to all registered - * listeners. If the supplied value is null, this method + * listeners. If the supplied value is null, this method * does nothing and returns false. * * @param value the new slider value (null permitted). * - * @return true if the slider value is updated, and + * @return true if the slider value is updated, and * false otherwise. */ public boolean setCurrentAccessibleValue(Number value) @@ -148,7 +148,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible return false; Number oldValue = getCurrentAccessibleValue(); setValue(value.intValue()); - firePropertyChange(AccessibleContext.ACCESSIBLE_VALUE_PROPERTY, oldValue, + firePropertyChange(AccessibleContext.ACCESSIBLE_VALUE_PROPERTY, oldValue, new Integer(getValue())); return true; } @@ -195,11 +195,11 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible m.getValueIsAdjusting()); } } - + } private static final long serialVersionUID = -8195169869225066566L; - + /** How much the thumb moves when moving in a block. */ protected int blockIncrement = 10; @@ -218,7 +218,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible */ private ChangeListener sbChangeListener; - /** + /** * Creates a new horizontal JScrollBar object with a minimum * of 0, a maxmium of 100, a value of 0 and an extent of 10. */ @@ -228,7 +228,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible } /** - * Creates a new JScrollBar object with a minimum of 0, a + * Creates a new JScrollBar object with a minimum of 0, a * maximum of 100, a value of 0, an extent of 10 and the given * orientation. * @@ -240,7 +240,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible } /** - * Creates a new JScrollBar object with the given orientation, + * Creates a new JScrollBar object with the given orientation, * value, min, max, and extent. * * @param orientation The orientation to use. @@ -294,7 +294,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible } /** - * This method returns an identifier to + * This method returns an identifier to * choose the correct UI delegate for the * scrollbar. * @@ -327,15 +327,15 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible throw new IllegalArgumentException("orientation must be one of HORIZONTAL or VERTICAL"); if (orientation != this.orientation) { - int oldOrientation = this.orientation; - this.orientation = orientation; - firePropertyChange("orientation", oldOrientation, - this.orientation); + int oldOrientation = this.orientation; + this.orientation = orientation; + firePropertyChange("orientation", oldOrientation, + this.orientation); } } /** - * This method returns the model being used with + * This method returns the model being used with * the scrollbar. * * @return The scrollbar's model. @@ -364,7 +364,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible /** * This method returns how much the scrollbar's value - * should change for a unit increment depending on the + * should change for a unit increment depending on the * given direction. * * @param direction The direction to scroll in. @@ -385,10 +385,10 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible { if (unitIncrement != this.unitIncrement) { - int oldInc = this.unitIncrement; - this.unitIncrement = unitIncrement; - firePropertyChange("unitIncrement", oldInc, - this.unitIncrement); + int oldInc = this.unitIncrement; + this.unitIncrement = unitIncrement; + firePropertyChange("unitIncrement", oldInc, + this.unitIncrement); } } @@ -415,10 +415,10 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible { if (blockIncrement != this.blockIncrement) { - int oldInc = this.blockIncrement; - this.blockIncrement = blockIncrement; - firePropertyChange("blockIncrement", oldInc, - this.blockIncrement); + int oldInc = this.blockIncrement; + this.blockIncrement = blockIncrement; + firePropertyChange("blockIncrement", oldInc, + this.blockIncrement); } } @@ -463,8 +463,8 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible } /** - * This method returns the visible amount (AKA extent). - * The visible amount can be used by UI delegates to + * This method returns the visible amount (AKA extent). + * The visible amount can be used by UI delegates to * determine the size of the thumb. * * @return The visible amount (AKA extent). @@ -545,7 +545,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible } /** - * This method sets the value, extent, minimum and + * This method sets the value, extent, minimum and * maximum. * * @param newValue The new value. @@ -570,7 +570,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible } /** - * This method removes an AdjustmentListener from the scroll bar. + * This method removes an AdjustmentListener from the scroll bar. * * @param listener The listener to remove. */ @@ -580,7 +580,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible } /** - * This method returns an arry of all AdjustmentListeners listening to + * This method returns an arry of all AdjustmentListeners listening to * this scroll bar. * * @return An array of AdjustmentListeners listening to this scroll bar. @@ -594,7 +594,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible * This method is called to fired AdjustmentEvents to the listeners * of this scroll bar. All AdjustmentEvents that are fired * will have an ID of ADJUSTMENT_VALUE_CHANGED and a type of - * TRACK. + * TRACK. * * @param id The ID of the adjustment event. * @param type The Type of change. @@ -658,14 +658,14 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible */ public void setEnabled(boolean x) { - // nothing special needs to be done here since we + // nothing special needs to be done here since we // just check the enabled setting before changing the value. super.setEnabled(x); } /** * Returns a string describing the attributes for the JScrollBar - * component, for use in debugging. The return value is guaranteed to be + * component, for use in debugging. The return value is guaranteed to be * non-null, but the format of the string may vary between * implementations. * @@ -678,7 +678,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible sb.append(",orientation="); if (this.orientation == JScrollBar.HORIZONTAL) sb.append("HORIZONTAL"); - else + else sb.append("VERTICAL"); sb.append(",unitIncrement=").append(unitIncrement); return sb.toString(); @@ -688,7 +688,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible * Returns the object that provides accessibility features for this * JScrollBar component. * - * @return The accessible context (an instance of + * @return The accessible context (an instance of * {@link AccessibleJScrollBar}). */ public AccessibleContext getAccessibleContext() diff --git a/libjava/classpath/javax/swing/JScrollPane.java b/libjava/classpath/javax/swing/JScrollPane.java index f6d37c7..6d17857 100644 --- a/libjava/classpath/javax/swing/JScrollPane.java +++ b/libjava/classpath/javax/swing/JScrollPane.java @@ -1,4 +1,4 @@ -/* JScrollPane.java -- +/* JScrollPane.java -- Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -146,7 +146,7 @@ public class JScrollPane extends JComponent } private static final long serialVersionUID = 5203525440012340014L; - + protected JViewport columnHeader; protected JViewport rowHeader; @@ -171,9 +171,9 @@ public class JScrollPane extends JComponent return columnHeader; } - public Component getCorner(String key) + public Component getCorner(String key) { - if (getComponentOrientation() + if (getComponentOrientation() == ComponentOrientation.LEFT_TO_RIGHT) { if (key == LOWER_LEADING_CORNER) @@ -185,7 +185,7 @@ public class JScrollPane extends JComponent else if (key == UPPER_TRAILING_CORNER) key = UPPER_RIGHT_CORNER; } - else if (getComponentOrientation() + else if (getComponentOrientation() == ComponentOrientation.RIGHT_TO_LEFT) { if (key == LOWER_LEADING_CORNER) @@ -261,14 +261,14 @@ public class JScrollPane extends JComponent else { Rectangle b = getViewport().getBounds(); - return new Rectangle(b.x - i.left, + return new Rectangle(b.x - i.left, b.y - i.top, - b.width + i.left + i.right, + b.width + i.left + i.right, b.height + i.top + i.bottom); } } } - + public boolean isWheelScrollingEnabled() { return wheelScrollingEnabled; @@ -310,7 +310,7 @@ public class JScrollPane extends JComponent { if (columnHeader == h) return; - + JViewport old = columnHeader; removeNonNull(old); columnHeader = h; @@ -329,7 +329,7 @@ public class JScrollPane extends JComponent public void setCorner(String key, Component c) { - if (getComponentOrientation() + if (getComponentOrientation() == ComponentOrientation.LEFT_TO_RIGHT) { if (key == LOWER_LEADING_CORNER) @@ -341,7 +341,7 @@ public class JScrollPane extends JComponent else if (key == UPPER_TRAILING_CORNER) key = UPPER_RIGHT_CORNER; } - else if (getComponentOrientation() + else if (getComponentOrientation() == ComponentOrientation.RIGHT_TO_LEFT) { if (key == LOWER_LEADING_CORNER) @@ -401,11 +401,11 @@ public class JScrollPane extends JComponent { if (horizontalScrollBarPolicy == h) return; - + if (h != HORIZONTAL_SCROLLBAR_AS_NEEDED && h != HORIZONTAL_SCROLLBAR_NEVER && h != HORIZONTAL_SCROLLBAR_ALWAYS) - throw new IllegalArgumentException("unknown horizontal scrollbar policy"); + throw new IllegalArgumentException("unknown horizontal scrollbar policy"); int old = horizontalScrollBarPolicy; horizontalScrollBarPolicy = h; @@ -428,7 +428,7 @@ public class JScrollPane extends JComponent { if (rowHeader == v) return; - + JViewport old = rowHeader; removeNonNull(old); rowHeader = v; @@ -449,7 +449,7 @@ public class JScrollPane extends JComponent { if (verticalScrollBar == v) return; - + JScrollBar old = verticalScrollBar; removeNonNull(old); verticalScrollBar = v; @@ -462,12 +462,12 @@ public class JScrollPane extends JComponent { if (verticalScrollBarPolicy == v) return; - + if (v != VERTICAL_SCROLLBAR_AS_NEEDED && v != VERTICAL_SCROLLBAR_NEVER && v != VERTICAL_SCROLLBAR_ALWAYS) - throw new IllegalArgumentException("unknown vertical scrollbar policy"); - + throw new IllegalArgumentException("unknown vertical scrollbar policy"); + int old = verticalScrollBarPolicy; verticalScrollBarPolicy = v; firePropertyChange("verticalScrollBarPolicy", old, v); @@ -479,7 +479,7 @@ public class JScrollPane extends JComponent { if (wheelScrollingEnabled == b) return; - + boolean old = wheelScrollingEnabled; wheelScrollingEnabled = b; firePropertyChange("wheelScrollingEnabled", old, b); @@ -490,7 +490,7 @@ public class JScrollPane extends JComponent { if (viewport == v) return; - + JViewport old = viewport; removeNonNull(old); viewport = v; @@ -510,20 +510,20 @@ public class JScrollPane extends JComponent { if (viewportBorder == b) return; - + Border old = viewportBorder; viewportBorder = b; firePropertyChange("viewportBorder", old, b); sync(); } - + public void setViewportView(Component view) { if (getViewport() == null) { setViewport(createViewport()); } - + if (view != null) { getViewport().setView(view); @@ -541,7 +541,7 @@ public class JScrollPane extends JComponent * policy is set to {@link #VERTICAL_SCROLLBAR_AS_NEEDED} and * {@link #HORIZONTAL_SCROLLBAR_AS_NEEDED}. */ - public JScrollPane() + public JScrollPane() { this(null); } @@ -553,10 +553,10 @@ public class JScrollPane extends JComponent * * @param view the component that is embedded inside the JScrollPane */ - public JScrollPane(Component view) + public JScrollPane(Component view) { - this(view, - VERTICAL_SCROLLBAR_AS_NEEDED, + this(view, + VERTICAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_AS_NEEDED); } @@ -574,7 +574,7 @@ public class JScrollPane extends JComponent * @see ScrollPaneConstants#VERTICAL_SCROLLBAR_AS_NEEDED * @see ScrollPaneConstants#VERTICAL_SCROLLBAR_NEVER */ - public JScrollPane(int vsbPolicy, int hsbPolicy) + public JScrollPane(int vsbPolicy, int hsbPolicy) { this(null, vsbPolicy, hsbPolicy); } @@ -594,7 +594,7 @@ public class JScrollPane extends JComponent * @see ScrollPaneConstants#VERTICAL_SCROLLBAR_AS_NEEDED * @see ScrollPaneConstants#VERTICAL_SCROLLBAR_NEVER */ - public JScrollPane(Component view, int vsbPolicy, int hsbPolicy) + public JScrollPane(Component view, int vsbPolicy, int hsbPolicy) { wheelScrollingEnabled = true; setVerticalScrollBarPolicy(vsbPolicy); @@ -610,7 +610,7 @@ public class JScrollPane extends JComponent updateUI(); } - + public JScrollBar createHorizontalScrollBar() { return new ScrollBar(SwingConstants.HORIZONTAL); @@ -620,7 +620,7 @@ public class JScrollPane extends JComponent { return new ScrollBar(SwingConstants.VERTICAL); } - + protected JViewport createViewport() { return new JViewport(); @@ -630,11 +630,11 @@ public class JScrollPane extends JComponent { return "ScrollPaneUI"; } - + public void updateUI() { setUI((ScrollPaneUI) UIManager.getUI(this)); - } + } /** * This method returns the scrollpane's UI delegate. @@ -656,7 +656,7 @@ public class JScrollPane extends JComponent super.setUI(ui); } - protected class ScrollBar + protected class ScrollBar extends JScrollBar implements UIResource { @@ -675,7 +675,7 @@ public class JScrollPane extends JComponent else { Scrollable s = (Scrollable) view; - return s.getScrollableBlockIncrement(JScrollPane.this.getViewport().getViewRect(), + return s.getScrollableBlockIncrement(JScrollPane.this.getViewport().getViewRect(), this.getOrientation(), direction); } @@ -689,7 +689,7 @@ public class JScrollPane extends JComponent else { Scrollable s = (Scrollable) view; - return s.getScrollableUnitIncrement(JScrollPane.this.getViewport().getViewRect(), + return s.getScrollableUnitIncrement(JScrollPane.this.getViewport().getViewRect(), this.getOrientation(), direction); } diff --git a/libjava/classpath/javax/swing/JSeparator.java b/libjava/classpath/javax/swing/JSeparator.java index c87783b..15d15fd 100644 --- a/libjava/classpath/javax/swing/JSeparator.java +++ b/libjava/classpath/javax/swing/JSeparator.java @@ -58,7 +58,7 @@ public class JSeparator extends JComponent implements SwingConstants, protected class AccessibleJSeparator extends AccessibleJComponent { private static final long serialVersionUID = 916332890553201095L; - + /** * Creates a new AccessibleJSeparator instance. */ @@ -79,7 +79,7 @@ public class JSeparator extends JComponent implements SwingConstants, } private static final long serialVersionUID = 125301223445282357L; - + /** The orientation of the JSeparator. */ private transient int orientation = HORIZONTAL; @@ -94,9 +94,9 @@ public class JSeparator extends JComponent implements SwingConstants, /** * Creates a new JSeparator object with the given orientation. * - * @param orientation the orientation (either {@link #HORIZONTAL} or + * @param orientation the orientation (either {@link #HORIZONTAL} or * {@link #VERTICAL}). - * + * * @throws IllegalArgumentException if orientation is not * one of the specified values. */ @@ -139,8 +139,8 @@ public class JSeparator extends JComponent implements SwingConstants, } /** - * Returns the suffix ("SeparatorUI" in this case) used to - * determine the class name for a UI delegate that can provide the look and + * Returns the suffix ("SeparatorUI" in this case) used to + * determine the class name for a UI delegate that can provide the look and * feel for a JSeparator. * * @return "SeparatorUI". @@ -154,7 +154,7 @@ public class JSeparator extends JComponent implements SwingConstants, * Returns the orientation of the JSeparator. * * @return The orientation (one of {@link #HORIZONTAL} and {@link #VERTICAL}). - * + * * @see #setOrientation(int) */ public int getOrientation() @@ -163,16 +163,16 @@ public class JSeparator extends JComponent implements SwingConstants, } /** - * Sets the orientation for the JSeparator and sends a - * {@link PropertyChangeEvent} (with the property name + * Sets the orientation for the JSeparator and sends a + * {@link PropertyChangeEvent} (with the property name * orientation) to all registered listeners. * - * @param orientation the orientation (either {@link #HORIZONTAL} or + * @param orientation the orientation (either {@link #HORIZONTAL} or * {@link #VERTICAL}). - * + * * @throws IllegalArgumentException if orientation is not * one of the specified values. - * + * * @see #getOrientation() */ public void setOrientation(int orientation) @@ -205,14 +205,14 @@ public class JSeparator extends JComponent implements SwingConstants, * Returns the object that provides accessibility features for this * JSeparator component. * - * @return The accessible context (an instance of + * @return The accessible context (an instance of * {@link AccessibleJSeparator}). */ public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJSeparator(); - + return accessibleContext; } } diff --git a/libjava/classpath/javax/swing/JSlider.java b/libjava/classpath/javax/swing/JSlider.java index 979707a..a6f5113 100644 --- a/libjava/classpath/javax/swing/JSlider.java +++ b/libjava/classpath/javax/swing/JSlider.java @@ -67,17 +67,17 @@ import javax.swing.plaf.UIResource; *

* A JSlider component has the following properties: *

- * + * * * * * * - * + * * * * - * + * * * * @@ -85,11 +85,11 @@ import javax.swing.plaf.UIResource; * * *
Property Stored in Bound?
extent model no
inverted slider yes
labelTable slider yes
majorTickSpacing slider yes
majorTickSpacing slider yes
maximum model yes
minimum model yes
minorTickSpacing slider yes
model slider yes
model slider yes
orientation slider yes
paintLabels slider yes
paintTicks slider yes
value model no
valueIsAdjusting model no
- * + * *

* The various behavioural aspects of these properties follows: *

- * + * * - * If no column contains the specified position, this method returns + * If no column contains the specified position, this method returns * -1. - * + * * @param x the x-position. - * + * * @return The column index, or -1. */ public int getColumnIndexAtX(int x) - { + { for (int i = 0; i < tableColumns.size(); ++i) { int w = (tableColumns.get(i)).getWidth(); @@ -322,21 +322,21 @@ public class DefaultTableColumnModel } /** - * Sets the selection model that will be used to keep track of the selected + * Sets the selection model that will be used to keep track of the selected * columns. * * @param model the selection model (null not permitted). - * - * @throws IllegalArgumentException if model is + * + * @throws IllegalArgumentException if model is * null. - * + * * @see #getSelectionModel() */ public void setSelectionModel(ListSelectionModel model) { if (model == null) throw new IllegalArgumentException(); - + selectionModel.removeListSelectionListener(this); selectionModel = model; selectionModel.addListSelectionListener(this); @@ -344,9 +344,9 @@ public class DefaultTableColumnModel /** * Returns the selection model used to track table column selections. - * + * * @return The selection model. - * + * * @see #setSelectionModel(ListSelectionModel) */ public ListSelectionModel getSelectionModel() @@ -358,7 +358,7 @@ public class DefaultTableColumnModel * Sets the flag that indicates whether or not column selection is allowed. * * @param flag the new flag value. - * + * * @see #getColumnSelectionAllowed() */ public void setColumnSelectionAllowed(boolean flag) @@ -367,11 +367,11 @@ public class DefaultTableColumnModel } /** - * Returns true if column selection is allowed, and + * Returns true if column selection is allowed, and * false if column selection is not allowed. * * @return A boolean. - * + * * @see #setColumnSelectionAllowed(boolean) */ public boolean getColumnSelectionAllowed() @@ -386,12 +386,12 @@ public class DefaultTableColumnModel */ public int[] getSelectedColumns() { - // FIXME: Implementation of this method was taken from private method + // FIXME: Implementation of this method was taken from private method // JTable.getSelections(), which is used in various places in JTable // including selected row calculations and cannot be simply removed. // This design should be improved to illuminate duplication of code. - - ListSelectionModel lsm = this.selectionModel; + + ListSelectionModel lsm = this.selectionModel; int sz = getSelectedColumnCount(); int [] ret = new int[sz]; @@ -405,16 +405,16 @@ public class DefaultTableColumnModel { case ListSelectionModel.SINGLE_SELECTION: ret[0] = lo; - break; - - case ListSelectionModel.SINGLE_INTERVAL_SELECTION: + break; + + case ListSelectionModel.SINGLE_INTERVAL_SELECTION: for (int i = lo; i <= hi; ++i) ret[j++] = i; break; - - case ListSelectionModel.MULTIPLE_INTERVAL_SELECTION: + + case ListSelectionModel.MULTIPLE_INTERVAL_SELECTION: for (int i = lo; i <= hi; ++i) - if (lsm.isSelectedIndex(i)) + if (lsm.isSelectedIndex(i)) ret[j++] = i; break; } @@ -424,23 +424,23 @@ public class DefaultTableColumnModel /** * Returns the number of selected columns in the model. - * + * * @return The selected column count. - * + * * @see #getSelectionModel() */ public int getSelectedColumnCount() { - // FIXME: Implementation of this method was taken from private method + // FIXME: Implementation of this method was taken from private method // JTable.countSelections(), which is used in various places in JTable // including selected row calculations and cannot be simply removed. // This design should be improved to illuminate duplication of code. - + ListSelectionModel lsm = this.selectionModel; int lo = lsm.getMinSelectionIndex(); int hi = lsm.getMaxSelectionIndex(); int sum = 0; - + if (lo != -1 && hi != -1) { switch (lsm.getSelectionMode()) @@ -448,19 +448,19 @@ public class DefaultTableColumnModel case ListSelectionModel.SINGLE_SELECTION: sum = 1; break; - + case ListSelectionModel.SINGLE_INTERVAL_SELECTION: sum = hi - lo + 1; break; - - case ListSelectionModel.MULTIPLE_INTERVAL_SELECTION: + + case ListSelectionModel.MULTIPLE_INTERVAL_SELECTION: for (int i = lo; i <= hi; ++i) - if (lsm.isSelectedIndex(i)) + if (lsm.isSelectedIndex(i)) ++sum; break; } } - + return sum; } @@ -476,7 +476,7 @@ public class DefaultTableColumnModel } /** - * Deregisters a listener so that it no longer receives notification of + * Deregisters a listener so that it no longer receives notification of * changes to this model. * * @param listener the listener to remove @@ -489,10 +489,10 @@ public class DefaultTableColumnModel /** * Returns an array containing the listeners that are registered with the * model. If there are no listeners, an empty array is returned. - * + * * @return An array containing the listeners that are registered with the * model. - * + * * @see #addColumnModelListener(TableColumnModelListener) * @since 1.4 */ @@ -500,34 +500,34 @@ public class DefaultTableColumnModel { return (TableColumnModelListener[]) listenerList.getListeners(TableColumnModelListener.class); - } + } /** - * Sends the specified {@link TableColumnModelEvent} to all registered + * Sends the specified {@link TableColumnModelEvent} to all registered * listeners, to indicate that a column has been added to the model. The * event's toIndex attribute should contain the index of the - * added column. - * + * added column. + * * @param e the event. - * + * * @see #addColumn(TableColumn) */ protected void fireColumnAdded(TableColumnModelEvent e) - { + { TableColumnModelListener[] listeners = getColumnModelListeners(); for (int i = 0; i < listeners.length; i++) - listeners[i].columnAdded(e); + listeners[i].columnAdded(e); } /** - * Sends the specified {@link TableColumnModelEvent} to all registered + * Sends the specified {@link TableColumnModelEvent} to all registered * listeners, to indicate that a column has been removed from the model. The * event's fromIndex attribute should contain the index of the - * removed column. - * + * removed column. + * * @param e the event. - * + * * @see #removeColumn(TableColumn) */ protected void fireColumnRemoved(TableColumnModelEvent e) @@ -535,18 +535,18 @@ public class DefaultTableColumnModel TableColumnModelListener[] listeners = getColumnModelListeners(); for (int i = 0; i < listeners.length; i++) - listeners[i].columnRemoved(e); + listeners[i].columnRemoved(e); } /** - * Sends the specified {@link TableColumnModelEvent} to all registered + * Sends the specified {@link TableColumnModelEvent} to all registered * listeners, to indicate that a column in the model has been moved. The * event's fromIndex attribute should contain the old column * index, and the toIndex attribute should contain the new - * column index. - * + * column index. + * * @param e the event. - * + * * @see #moveColumn(int, int) */ protected void fireColumnMoved(TableColumnModelEvent e) @@ -554,7 +554,7 @@ public class DefaultTableColumnModel TableColumnModelListener[] listeners = getColumnModelListeners(); for (int i = 0; i < listeners.length; i++) - listeners[i].columnMoved(e); + listeners[i].columnMoved(e); } /** @@ -562,7 +562,7 @@ public class DefaultTableColumnModel * to indicate that the column selections have changed. * * @param e the event. - * + * * @see #valueChanged(ListSelectionEvent) */ protected void fireColumnSelectionChanged(ListSelectionEvent e) @@ -573,9 +573,9 @@ public class DefaultTableColumnModel } /** - * Sends a {@link ChangeEvent} to the model's registered listeners to - * indicate that the column margin was changed. - * + * Sends a {@link ChangeEvent} to the model's registered listeners to + * indicate that the column margin was changed. + * * @see #setColumnMargin(int) */ protected void fireColumnMarginChanged() @@ -588,13 +588,13 @@ public class DefaultTableColumnModel } /** - * Returns an array containing the listeners (of the specified type) that + * Returns an array containing the listeners (of the specified type) that * are registered with this model. - * - * @param listenerType the listener type (must indicate a subclass of + * + * @param listenerType the listener type (must indicate a subclass of * {@link EventListener}, null not permitted). * - * @return An array containing the listeners (of the specified type) that + * @return An array containing the listeners (of the specified type) that * are registered with this model. */ public T[] getListeners(Class listenerType) @@ -605,23 +605,23 @@ public class DefaultTableColumnModel /** * Receives notification of property changes for the columns in the model. * If the width property for any column changes, we invalidate - * the {@link #totalColumnWidth} value here. + * the {@link #totalColumnWidth} value here. * * @param event the event. */ public void propertyChange(PropertyChangeEvent event) { if (event.getPropertyName().equals("width")) - invalidateWidthCache(); + invalidateWidthCache(); } /** - * Receives notification of the change to the list selection model, and - * responds by calling + * Receives notification of the change to the list selection model, and + * responds by calling * {@link #fireColumnSelectionChanged(ListSelectionEvent)}. - * + * * @param e the list selection event. - * + * * @see #getSelectionModel() */ public void valueChanged(ListSelectionEvent e) @@ -630,21 +630,21 @@ public class DefaultTableColumnModel } /** - * Creates a default selection model to track the currently selected + * Creates a default selection model to track the currently selected * column(s). This method is called by the constructor and returns a new * instance of {@link DefaultListSelectionModel}. * * @return A new default column selection model. */ protected ListSelectionModel createSelectionModel() - { + { return new DefaultListSelectionModel(); } /** * Recalculates the total width of the columns, if the cached value is * -1. Otherwise this method does nothing. - * + * * @see #getTotalColumnWidth() */ protected void recalcWidthCache() @@ -661,7 +661,7 @@ public class DefaultTableColumnModel /** * Sets the {@link #totalColumnWidth} field to -1. - * + * * @see #recalcWidthCache() */ private void invalidateWidthCache() diff --git a/libjava/classpath/javax/swing/table/DefaultTableModel.java b/libjava/classpath/javax/swing/table/DefaultTableModel.java index 1b68ce2..e1d5e68 100644 --- a/libjava/classpath/javax/swing/table/DefaultTableModel.java +++ b/libjava/classpath/javax/swing/table/DefaultTableModel.java @@ -44,10 +44,10 @@ import java.util.Vector; import javax.swing.event.TableModelEvent; /** - * A two dimensional data structure used to store Object + * A two dimensional data structure used to store Object * instances, usually for display in a JTable component. - * - * @author Andrew Selkirk + * + * @author Andrew Selkirk */ public class DefaultTableModel extends AbstractTableModel implements Serializable @@ -55,7 +55,7 @@ public class DefaultTableModel extends AbstractTableModel static final long serialVersionUID = 6680042567037222321L; /** - * Storage for the rows in the table (each row is itself + * Storage for the rows in the table (each row is itself * a Vector). */ protected Vector dataVector; @@ -68,27 +68,27 @@ public class DefaultTableModel extends AbstractTableModel /** * Creates an empty table with zero rows and zero columns. */ - public DefaultTableModel() + public DefaultTableModel() { this(0, 0); } - + /** * Creates a new table with the specified number of rows and columns. * All cells in the table are initially empty (set to null). - * + * * @param numRows the number of rows. * @param numColumns the number of columns. */ - public DefaultTableModel(int numRows, int numColumns) + public DefaultTableModel(int numRows, int numColumns) { Vector defaultNames = new Vector(numColumns); Vector data = new Vector(numRows); - for (int i = 0; i < numColumns; i++) + for (int i = 0; i < numColumns; i++) { defaultNames.add(super.getColumnName(i)); - } - for (int r = 0; r < numRows; r++) + } + for (int r = 0; r < numRows; r++) { Vector tmp = new Vector(numColumns); tmp.setSize(numColumns); @@ -96,16 +96,16 @@ public class DefaultTableModel extends AbstractTableModel } setDataVector(data, defaultNames); } - + /** * Creates a new table with the specified column names and number of * rows. The number of columns is determined by the number of column * names supplied. - * + * * @param columnNames the column names. * @param numRows the number of rows. */ - public DefaultTableModel(Vector columnNames, int numRows) + public DefaultTableModel(Vector columnNames, int numRows) { if (numRows < 0) throw new IllegalArgumentException("numRows < 0"); @@ -114,8 +114,8 @@ public class DefaultTableModel extends AbstractTableModel if (columnNames != null) numColumns = columnNames.size(); - - while (0 < numRows--) + + while (0 < numRows--) { Vector rowData = new Vector(); rowData.setSize(numColumns); @@ -126,43 +126,43 @@ public class DefaultTableModel extends AbstractTableModel /** * Creates a new table with the specified column names and row count. - * + * * @param columnNames the column names. * @param numRows the number of rows. */ - public DefaultTableModel(Object[] columnNames, int numRows) + public DefaultTableModel(Object[] columnNames, int numRows) { this(convertToVector(columnNames), numRows); } - + /** * Creates a new table with the specified data values and column names. - * + * * @param data the data values. * @param columnNames the column names. */ - public DefaultTableModel(Vector data, Vector columnNames) + public DefaultTableModel(Vector data, Vector columnNames) { setDataVector(data, columnNames); } /** * Creates a new table with the specified data values and column names. - * + * * @param data the data values. * @param columnNames the column names. */ - public DefaultTableModel(Object[][] data, Object[] columnNames) + public DefaultTableModel(Object[][] data, Object[] columnNames) { this(convertToVector(data), convertToVector(columnNames)); } /** * Returns the vector containing the row data for the table. - * + * * @return The data vector. */ - public Vector getDataVector() + public Vector getDataVector() { return dataVector; } @@ -173,13 +173,13 @@ public class DefaultTableModel extends AbstractTableModel * number of objects in each row does not match the number of column * names specified, the row data is truncated or expanded (by adding * null values) as required. - * + * * @param data the data for the table (a vector of row vectors). * @param columnNames the column names. - * + * * @throws NullPointerException if either argument is null. */ - public void setDataVector(Vector data, Vector columnNames) + public void setDataVector(Vector data, Vector columnNames) { if (data == null) dataVector = new Vector(); @@ -190,87 +190,87 @@ public class DefaultTableModel extends AbstractTableModel /** * Sets the data and column identifiers for the table. - * + * * @param data the data for the table. * @param columnNames the column names. - * + * * @throws NullPointerException if either argument is null. */ - public void setDataVector(Object[][] data, Object[] columnNames) + public void setDataVector(Object[][] data, Object[] columnNames) { - setDataVector(convertToVector(data), + setDataVector(convertToVector(data), convertToVector(columnNames)); } - + /** * Sends the specified event to all registered listeners. - * This method is equivalent to + * This method is equivalent to * {@link AbstractTableModel#fireTableChanged(TableModelEvent)}. - * + * * @param event the event. */ - public void newDataAvailable(TableModelEvent event) + public void newDataAvailable(TableModelEvent event) { fireTableChanged(event); } /** * Sends the specified event to all registered listeners. - * This method is equivalent to + * This method is equivalent to * {@link AbstractTableModel#fireTableChanged(TableModelEvent)}. - * + * * @param event the event. */ - public void newRowsAdded(TableModelEvent event) + public void newRowsAdded(TableModelEvent event) { fireTableChanged(event); } /** * Sends the specified event to all registered listeners. - * This method is equivalent to + * This method is equivalent to * {@link AbstractTableModel#fireTableChanged(TableModelEvent)}. - * + * * @param event the event. */ - public void rowsRemoved(TableModelEvent event) + public void rowsRemoved(TableModelEvent event) { fireTableChanged(event); } /** * Sets the column identifiers, updates the data rows (truncating - * or padding each row with null values) to match the + * or padding each row with null values) to match the * number of columns, and sends a {@link TableModelEvent} to all * registered listeners. - * + * * @param columnIdentifiers the column identifiers. */ - public void setColumnIdentifiers(Vector columnIdentifiers) + public void setColumnIdentifiers(Vector columnIdentifiers) { this.columnIdentifiers = columnIdentifiers; setColumnCount(columnIdentifiers == null ? 0 : columnIdentifiers.size()); } - + /** * Sets the column identifiers, updates the data rows (truncating - * or padding each row with null values) to match the + * or padding each row with null values) to match the * number of columns, and sends a {@link TableModelEvent} to all * registered listeners. - * + * * @param columnIdentifiers the column identifiers. */ - public void setColumnIdentifiers(Object[] columnIdentifiers) + public void setColumnIdentifiers(Object[] columnIdentifiers) { setColumnIdentifiers(convertToVector(columnIdentifiers)); } /** * This method is obsolete, use {@link #setRowCount(int)} instead. - * + * * @param numRows the number of rows. */ - public void setNumRows(int numRows) + public void setNumRows(int numRows) { setRowCount(numRows); } @@ -280,18 +280,18 @@ public class DefaultTableModel extends AbstractTableModel * than the current number of rows in the table, rows are discarded. * If rowCount is greater than the current number of rows in * the table, new (empty) rows are added. - * + * * @param rowCount the row count. */ - public void setRowCount(int rowCount) + public void setRowCount(int rowCount) { int existingRowCount = dataVector.size(); - if (rowCount < existingRowCount) + if (rowCount < existingRowCount) { dataVector.setSize(rowCount); - fireTableRowsDeleted(rowCount, existingRowCount - 1); + fireTableRowsDeleted(rowCount, existingRowCount - 1); } - else + else { int rowsToAdd = rowCount - existingRowCount; addExtraRows(rowsToAdd, columnIdentifiers.size()); @@ -303,16 +303,16 @@ public class DefaultTableModel extends AbstractTableModel * Sets the number of columns in the table. Existing rows are truncated * or padded with null values to match the new column count. * A {@link TableModelEvent} is sent to all registered listeners. - * + * * @param columnCount the column count. */ - public void setColumnCount(int columnCount) + public void setColumnCount(int columnCount) { for (int i = 0; i < dataVector.size(); ++i) { ((Vector) dataVector.get(i)).setSize(columnCount); } - if (columnIdentifiers != null) + if (columnIdentifiers != null) columnIdentifiers.setSize(columnCount); fireTableStructureChanged(); } @@ -320,24 +320,24 @@ public class DefaultTableModel extends AbstractTableModel /** * Adds a column with the specified name to the table. All cell values * for the column are initially set to null. - * + * * @param columnName the column name (null permitted). */ - public void addColumn(Object columnName) + public void addColumn(Object columnName) { addColumn(columnName, (Object[]) null); } /** - * Adds a column with the specified name and data values to the table. - * + * Adds a column with the specified name and data values to the table. + * * @param columnName the column name (null permitted). * @param columnData the column data. */ - public void addColumn(Object columnName, Vector columnData) + public void addColumn(Object columnName, Vector columnData) { Object[] dataArray = null; - if (columnData != null) + if (columnData != null) { int rowCount = dataVector.size(); if (columnData.size() < rowCount) @@ -349,17 +349,17 @@ public class DefaultTableModel extends AbstractTableModel /** * Adds a column with the specified name and data values to the table. - * + * * @param columnName the column name (null permitted). * @param columnData the column data. */ - public void addColumn(Object columnName, Object[] columnData) + public void addColumn(Object columnName, Object[] columnData) { if (columnData != null) { // check columnData array for cases where the number of items // doesn't match the number of rows in the existing table - if (columnData.length > dataVector.size()) + if (columnData.length > dataVector.size()) { int rowsToAdd = columnData.length - dataVector.size(); addExtraRows(rowsToAdd, columnIdentifiers.size()); @@ -382,10 +382,10 @@ public class DefaultTableModel extends AbstractTableModel /** * Adds a new row containing the specified data to the table and sends a * {@link TableModelEvent} to all registered listeners. - * + * * @param rowData the row data (null permitted). */ - public void addRow(Vector rowData) + public void addRow(Vector rowData) { int rowIndex = dataVector.size(); dataVector.add(rowData); @@ -397,21 +397,21 @@ public class DefaultTableModel extends AbstractTableModel /** * Adds a new row containing the specified data to the table and sends a * {@link TableModelEvent} to all registered listeners. - * + * * @param rowData the row data (null permitted). */ - public void addRow(Object[] rowData) + public void addRow(Object[] rowData) { addRow(convertToVector(rowData)); } /** * Inserts a new row into the table. - * + * * @param row the row index. * @param rowData the row data. */ - public void insertRow(int row, Vector rowData) + public void insertRow(int row, Vector rowData) { dataVector.add(row, rowData); fireTableRowsInserted(row, row); @@ -419,11 +419,11 @@ public class DefaultTableModel extends AbstractTableModel /** * Inserts a new row into the table. - * + * * @param row the row index. * @param rowData the row data. */ - public void insertRow(int row, Object[] rowData) + public void insertRow(int row, Object[] rowData) { insertRow(row, convertToVector(rowData)); } @@ -431,21 +431,21 @@ public class DefaultTableModel extends AbstractTableModel /** * Moves the rows from startIndex to endIndex * (inclusive) to the specified row. - * + * * @param startIndex the start row. * @param endIndex the end row. * @param toIndex the row to move to. */ - public void moveRow(int startIndex, int endIndex, int toIndex) + public void moveRow(int startIndex, int endIndex, int toIndex) { Vector removed = new Vector(); for (int i = endIndex; i >= startIndex; i--) { removed.add(this.dataVector.remove(i)); } - for (int i = 0; i <= endIndex - startIndex; i++) + for (int i = 0; i <= endIndex - startIndex; i++) { - dataVector.insertElementAt(removed.get(i), toIndex); + dataVector.insertElementAt(removed.get(i), toIndex); } int firstRow = Math.min(startIndex, toIndex); int lastRow = Math.max(endIndex, toIndex + (endIndex - startIndex)); @@ -455,10 +455,10 @@ public class DefaultTableModel extends AbstractTableModel /** * Removes a row from the table and sends a {@link TableModelEvent} to * all registered listeners. - * + * * @param row the row index. */ - public void removeRow(int row) + public void removeRow(int row) { dataVector.remove(row); fireTableRowsDeleted(row, row); @@ -466,20 +466,20 @@ public class DefaultTableModel extends AbstractTableModel /** * Returns the number of rows in the model. - * + * * @return The row count. */ - public int getRowCount() + public int getRowCount() { return dataVector.size(); } /** * Returns the number of columns in the model. - * + * * @return The column count. */ - public int getColumnCount() + public int getColumnCount() { return columnIdentifiers == null ? 0 : columnIdentifiers.size(); } @@ -489,23 +489,23 @@ public class DefaultTableModel extends AbstractTableModel * the return value is the result of the .toString() method call on that * identifier. If the identifier is not explicitly set, the returned value * is calculated by {@link AbstractTableModel#getColumnName(int)}. - * + * * @param column the column index. - * + * * @return The column name. */ public String getColumnName(int column) { String result = ""; - if (columnIdentifiers == null) + if (columnIdentifiers == null) result = super.getColumnName(column); - else + else { if (column < getColumnCount()) { checkSize(); Object id = columnIdentifiers.get(column); - if (id != null) + if (id != null) result = id.toString(); else result = super.getColumnName(column); @@ -520,40 +520,40 @@ public class DefaultTableModel extends AbstractTableModel * Returns true if the specified cell can be modified, and * false otherwise. For this implementation, the method * always returns true. - * + * * @param row the row index. * @param column the column index. - * + * * @return true in all cases. */ - public boolean isCellEditable(int row, int column) + public boolean isCellEditable(int row, int column) { return true; } /** * Returns the value at the specified cell in the table. - * + * * @param row the row index. * @param column the column index. - * - * @return The value (Object, possibly null) at + * + * @return The value (Object, possibly null) at * the specified cell in the table. */ - public Object getValueAt(int row, int column) + public Object getValueAt(int row, int column) { return ((Vector) dataVector.get(row)).get(column); } /** - * Sets the value for the specified cell in the table and sends a + * Sets the value for the specified cell in the table and sends a * {@link TableModelEvent} to all registered listeners. - * + * * @param value the value (Object, null permitted). * @param row the row index. * @param column the column index. */ - public void setValueAt(Object value, int row, int column) + public void setValueAt(Object value, int row, int column) { ((Vector) dataVector.get(row)).set(column, value); fireTableCellUpdated(row, column); @@ -561,31 +561,31 @@ public class DefaultTableModel extends AbstractTableModel /** * Converts the data array to a Vector. - * + * * @param data the data array (null permitted). - * - * @return A vector (or null if the data array + * + * @return A vector (or null if the data array * is null). */ - protected static Vector convertToVector(Object[] data) + protected static Vector convertToVector(Object[] data) { if (data == null) return null; Vector vector = new Vector(data.length); - for (int i = 0; i < data.length; i++) + for (int i = 0; i < data.length; i++) vector.add(data[i]); - return vector; + return vector; } - + /** * Converts the data array to a Vector of rows. - * + * * @param data the data array (null permitted). - * - * @return A vector (or null if the data array + * + * @return A vector (or null if the data array * is null. */ - protected static Vector convertToVector(Object[][] data) + protected static Vector convertToVector(Object[][] data) { if (data == null) return null; @@ -603,12 +603,12 @@ public class DefaultTableModel extends AbstractTableModel */ private void addExtraRows(int rowsToAdd, int nbColumns) { - for (int i = 0; i < rowsToAdd; i++) + for (int i = 0; i < rowsToAdd; i++) { Vector tmp = new Vector(); tmp.setSize(columnIdentifiers.size()); dataVector.add(tmp); - } + } } /** @@ -621,10 +621,10 @@ public class DefaultTableModel extends AbstractTableModel { int columnCount = getColumnCount(); int rowCount = getRowCount(); - + if (columnCount > columnIdentifiers.size()) columnIdentifiers.setSize(columnCount); - + if (dataVector != null && rowCount > dataVector.size()) { int rowsToAdd = rowCount - dataVector.size(); diff --git a/libjava/classpath/javax/swing/table/JTableHeader.java b/libjava/classpath/javax/swing/table/JTableHeader.java index 4661748..4eb9115 100644 --- a/libjava/classpath/javax/swing/table/JTableHeader.java +++ b/libjava/classpath/javax/swing/table/JTableHeader.java @@ -81,23 +81,23 @@ public class JTableHeader extends JComponent protected class AccessibleJTableHeaderEntry extends AccessibleContext implements Accessible, AccessibleComponent { - + private int columnIndex; - + private JTableHeader parent; - + private JTable table; - + public AccessibleJTableHeaderEntry(int c, JTableHeader p, JTable t) { columnIndex = c; parent = p; table = t; } - + /** * Returns the column header renderer. - * + * * @return The column header renderer. */ Component getColumnHeaderRenderer() @@ -106,14 +106,14 @@ public class JTableHeader extends JComponent TableCellRenderer r = tc.getHeaderRenderer(); if (r == null) r = parent.getDefaultRenderer(); - return r.getTableCellRendererComponent(table, tc.headerValue, + return r.getTableCellRendererComponent(table, tc.headerValue, false, false, -1, columnIndex); } - + /** - * Returns the accessible context for the column header renderer, or + * Returns the accessible context for the column header renderer, or * null. - * + * * @return The accessible context. */ AccessibleContext getAccessibleColumnHeaderRenderer() @@ -123,7 +123,7 @@ public class JTableHeader extends JComponent return c.getAccessibleContext(); return null; } - + /** * @see #removeFocusListener(FocusListener) */ @@ -134,7 +134,7 @@ public class JTableHeader extends JComponent if (c != null) c.addFocusListener(l); } - + /** * @see #removePropertyChangeListener(PropertyChangeListener) */ @@ -146,26 +146,26 @@ public class JTableHeader extends JComponent if (ac != null) ac.addPropertyChangeListener(l); } - + public boolean contains(Point p) { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); AccessibleComponent c = ac.getAccessibleComponent(); if (c != null) return c.contains(p); - else + else return false; } - + public AccessibleAction getAccessibleAction() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac instanceof AccessibleAction) return (AccessibleAction) ac; - else + else return null; } - + public Accessible getAccessibleAt(Point p) { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -175,53 +175,53 @@ public class JTableHeader extends JComponent else return null; } - + /** * Returns null as the header entry has no accessible * children. - * + * * @return null. */ public Accessible getAccessibleChild(int i) { return null; } - + /** * Returns the number of accessible children, zero in this case. - * + * * @return 0 */ public int getAccessibleChildrenCount() { return 0; } - + /** * Returns the accessible component for this header entry. - * + * * @return this. */ public AccessibleComponent getAccessibleComponent() { return this; } - + /** * Returns the accessible context for this header entry. - * + * * @return this. */ public AccessibleContext getAccessibleContext() { return this; } - + /** * Returns the accessible description. - * + * * @return The accessible description. - * + * * @see #setAccessibleDescription(String) */ public String getAccessibleDescription() @@ -231,22 +231,22 @@ public class JTableHeader extends JComponent return ac.getAccessibleDescription(); return accessibleDescription; } - + /** * Returns the index of this header entry. - * + * * @return The index of this header entry. */ public int getAccessibleIndexInParent() { return columnIndex; } - + /** * Returns the accessible name. - * + * * @return The accessible name. - * + * * @see #setAccessibleName(String) */ public String getAccessibleName() @@ -256,10 +256,10 @@ public class JTableHeader extends JComponent return ac.getAccessibleName(); return accessibleName; } - + /** * Returns the accessible role for the header entry. - * + * * @return The accessible role. */ public AccessibleRole getAccessibleRole() @@ -270,43 +270,43 @@ public class JTableHeader extends JComponent else return null; } - + public AccessibleSelection getAccessibleSelection() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac instanceof AccessibleValue) return (AccessibleSelection) ac; - else + else return null; } - + public AccessibleStateSet getAccessibleStateSet() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac != null) return ac.getAccessibleStateSet(); - else + else return null; } - + public AccessibleText getAccessibleText() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac != null) return ac.getAccessibleText(); - else + else return null; } - + public AccessibleValue getAccessibleValue() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); if (ac instanceof AccessibleValue) return (AccessibleValue) ac; - else + else return null; } - + public Color getBackground() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -316,7 +316,7 @@ public class JTableHeader extends JComponent else return null; } - + public Rectangle getBounds() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -326,7 +326,7 @@ public class JTableHeader extends JComponent else return null; } - + public Cursor getCursor() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -336,7 +336,7 @@ public class JTableHeader extends JComponent else return null; } - + public Font getFont() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -346,7 +346,7 @@ public class JTableHeader extends JComponent else return null; } - + public FontMetrics getFontMetrics(Font f) { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -356,7 +356,7 @@ public class JTableHeader extends JComponent else return null; } - + public Color getForeground() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -366,7 +366,7 @@ public class JTableHeader extends JComponent else return null; } - + public Locale getLocale() { Component c = getColumnHeaderRenderer(); @@ -374,7 +374,7 @@ public class JTableHeader extends JComponent return c.getLocale(); return null; } - + public Point getLocation() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -384,7 +384,7 @@ public class JTableHeader extends JComponent else return null; } - + public Point getLocationOnScreen() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -394,7 +394,7 @@ public class JTableHeader extends JComponent else return null; } - + public Dimension getSize() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -404,7 +404,7 @@ public class JTableHeader extends JComponent else return null; } - + public boolean isEnabled() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -414,7 +414,7 @@ public class JTableHeader extends JComponent else return false; } - + public boolean isFocusTraversable() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -424,7 +424,7 @@ public class JTableHeader extends JComponent else return false; } - + public boolean isShowing() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -434,7 +434,7 @@ public class JTableHeader extends JComponent else return false; } - + public boolean isVisible() { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -444,7 +444,7 @@ public class JTableHeader extends JComponent else return false; } - + /** * @see #addFocusListener(FocusListener) */ @@ -455,7 +455,7 @@ public class JTableHeader extends JComponent if (c != null) c.removeFocusListener(l); } - + /** * @see #addPropertyChangeListener(PropertyChangeListener) */ @@ -465,7 +465,7 @@ public class JTableHeader extends JComponent if (ac != null) ac.removePropertyChangeListener(l); } - + /** * @see #addFocusListener(FocusListener) */ @@ -476,7 +476,7 @@ public class JTableHeader extends JComponent if (c != null) c.requestFocus(); } - + /** * @see #getAccessibleDescription() */ @@ -488,7 +488,7 @@ public class JTableHeader extends JComponent else accessibleDescription = s; } - + /** * @see #getAccessibleName() */ @@ -498,7 +498,7 @@ public class JTableHeader extends JComponent if (ac != null) ac.setAccessibleName(s); } - + public void setBackground(Color c) { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -506,7 +506,7 @@ public class JTableHeader extends JComponent if (comp != null) comp.setBackground(c); } - + public void setBounds(Rectangle r) { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -514,7 +514,7 @@ public class JTableHeader extends JComponent if (comp != null) comp.setBounds(r); } - + public void setCursor(Cursor c) { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -522,7 +522,7 @@ public class JTableHeader extends JComponent if (comp != null) comp.setCursor(c); } - + public void setEnabled(boolean b) { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -530,7 +530,7 @@ public class JTableHeader extends JComponent if (comp != null) comp.setEnabled(b); } - + public void setFont(Font f) { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -538,7 +538,7 @@ public class JTableHeader extends JComponent if (comp != null) comp.setFont(f); } - + public void setForeground(Color c) { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -546,7 +546,7 @@ public class JTableHeader extends JComponent if (comp != null) comp.setForeground(c); } - + public void setLocation(Point p) { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -554,7 +554,7 @@ public class JTableHeader extends JComponent if (comp != null) comp.setLocation(p); } - + public void setSize(Dimension d) { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -562,7 +562,7 @@ public class JTableHeader extends JComponent if (comp != null) comp.setSize(d); } - + public void setVisible(boolean b) { AccessibleContext ac = getAccessibleColumnHeaderRenderer(); @@ -571,28 +571,28 @@ public class JTableHeader extends JComponent comp.setVisible(b); } } - + public AccessibleRole getAccessibleRole() { return AccessibleRole.PANEL; } - + public int getAccessibleChildrenCount() { return table.getColumnCount(); } - + public Accessible getAccessibleChild(int i) { return new AccessibleJTableHeaderEntry(i, JTableHeader.this, table); } - + public Accessible getAccessibleAt(Point p) { return getAccessibleChild(columnAtPoint(p)); } } - + /** * Use serialVersionUid for interoperability. */ @@ -643,7 +643,7 @@ public class JTableHeader extends JComponent */ protected boolean updateTableInRealTime; - TableCellRenderer cellRenderer; + TableCellRenderer cellRenderer; /** * Creates a new default instance. @@ -655,21 +655,21 @@ public class JTableHeader extends JComponent /** * Creates a new header. If cm is null, a new - * table column model is created by calling + * table column model is created by calling * {@link #createDefaultColumnModel()}. - * + * * @param cm the table column model (null permitted). */ public JTableHeader(TableColumnModel cm) { - columnModel = cm == null ? createDefaultColumnModel() : cm; + columnModel = cm == null ? createDefaultColumnModel() : cm; initializeLocalVars(); updateUI(); } /** * Creates a default table column model. - * + * * @return A default table column model. */ protected TableColumnModel createDefaultColumnModel() @@ -724,7 +724,7 @@ public class JTableHeader extends JComponent * disabled with {@link #setReorderingAllowed(boolean)}. * * @return true if reordering is allowed, false otherwise. - */ + */ public boolean getReorderingAllowed() { return reorderingAllowed; @@ -736,7 +736,7 @@ public class JTableHeader extends JComponent * by default, but can be disabled with {@link #setResizingAllowed(boolean)}. * * @return true if resizing is allowed, false otherwise. - */ + */ public boolean getResizingAllowed() { return resizingAllowed; @@ -787,7 +787,7 @@ public class JTableHeader extends JComponent * Set the value of the {@link #columnModel} property. * * @param c The new value of the property - */ + */ public void setColumnModel(TableColumnModel c) { columnModel.removeColumnModelListener(this); @@ -797,11 +797,11 @@ public class JTableHeader extends JComponent /** * Set the column that is currently being dragged. This is used when - * dragging the column with mouse. Setting to null will stop the + * dragging the column with mouse. Setting to null will stop the * dragging session immediately. * * @param draggingIt the column being currently dragged, null if none. - */ + */ public void setDraggedColumn(TableColumn draggingIt) { draggedColumn = draggingIt; @@ -811,7 +811,7 @@ public class JTableHeader extends JComponent * Set the value of the {@link #draggedDistance} property. * * @param d The new value of the property - */ + */ public void setDraggedDistance(int d) { draggedDistance = d; @@ -821,7 +821,7 @@ public class JTableHeader extends JComponent * Set the value of the {@link #opaque} property. * * @param o The new value of the property - */ + */ public void setOpaque(boolean o) { opaque = o; @@ -833,7 +833,7 @@ public class JTableHeader extends JComponent * disabled with this method. * * @param allowed true if reordering is allowed, false otherwise. - */ + */ public void setReorderingAllowed(boolean allowed) { reorderingAllowed = allowed; @@ -845,7 +845,7 @@ public class JTableHeader extends JComponent * by default, but can be disabled using this method. * * @param allowed true if resizing is allowed, false otherwise. - */ + */ public void setResizingAllowed(boolean allowed) { resizingAllowed = allowed; @@ -857,7 +857,7 @@ public class JTableHeader extends JComponent * the resizing session immediately. * * @param resizingIt the column being currently resized - */ + */ public void setResizingColumn(TableColumn resizingIt) { resizingColumn = resizingIt; @@ -867,7 +867,7 @@ public class JTableHeader extends JComponent * Set the value of the {@link #table} property. * * @param t The new value of the property - */ + */ public void setTable(JTable t) { table = t; @@ -877,7 +877,7 @@ public class JTableHeader extends JComponent * Set the value of the {@link #updateTableInRealTime} property. * * @param u The new value of the property - */ + */ public void setUpdateTableInRealTime(boolean u) { updateTableInRealTime = u; @@ -885,17 +885,17 @@ public class JTableHeader extends JComponent /** * Creates a default renderer. - * + * * @return A default renderer. */ protected TableCellRenderer createDefaultRenderer() { return new DefaultTableCellRenderer(); } - + /** * Returns the default table cell renderer. - * + * * @return The default table cell renderer. */ public TableCellRenderer getDefaultRenderer() @@ -905,19 +905,19 @@ public class JTableHeader extends JComponent /** * Sets the default table cell renderer. - * + * * @param cellRenderer the renderer. */ public void setDefaultRenderer(TableCellRenderer cellRenderer) { this.cellRenderer = cellRenderer; } - + /** * Get the rectangle, occupied by the header of the given column. - * + * * @param column the column, for that the header area is requested. - * + * * @return the column header area. */ public Rectangle getHeaderRect(int column) @@ -956,16 +956,16 @@ public class JTableHeader extends JComponent /** * Returns the index of the column at the specified point. - * + * * @param point the point. - * + * * @return The column index, or -1. */ public int columnAtPoint(Point point) { if (getBounds().contains(point)) return columnModel.getColumnIndexAtX(point.x); - + return -1; } diff --git a/libjava/classpath/javax/swing/table/TableCellEditor.java b/libjava/classpath/javax/swing/table/TableCellEditor.java index 15070a7..933eb9e 100644 --- a/libjava/classpath/javax/swing/table/TableCellEditor.java +++ b/libjava/classpath/javax/swing/table/TableCellEditor.java @@ -47,7 +47,7 @@ import javax.swing.JTable; * TableCellEditor public interface * @author Andrew Selkirk */ -public interface TableCellEditor extends CellEditor +public interface TableCellEditor extends CellEditor { /** @@ -59,7 +59,7 @@ public interface TableCellEditor extends CellEditor * @param column Column of cell * @return Component */ - Component getTableCellEditorComponent(JTable table, Object value, + Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column); } diff --git a/libjava/classpath/javax/swing/table/TableCellRenderer.java b/libjava/classpath/javax/swing/table/TableCellRenderer.java index 6c1fecf..da7296d 100644 --- a/libjava/classpath/javax/swing/table/TableCellRenderer.java +++ b/libjava/classpath/javax/swing/table/TableCellRenderer.java @@ -46,7 +46,7 @@ import javax.swing.JTable; * TableCellRenderer public interface * @author Andrew Selkirk */ -public interface TableCellRenderer +public interface TableCellRenderer { /** @@ -59,7 +59,7 @@ public interface TableCellRenderer * @param column Column of cell * @return Component */ - Component getTableCellRendererComponent(JTable table, Object value, + Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column); diff --git a/libjava/classpath/javax/swing/table/TableColumn.java b/libjava/classpath/javax/swing/table/TableColumn.java index fbb877d..8db4bf6 100644 --- a/libjava/classpath/javax/swing/table/TableColumn.java +++ b/libjava/classpath/javax/swing/table/TableColumn.java @@ -49,8 +49,8 @@ import javax.swing.event.SwingPropertyChangeSupport; /** * Represents the attributes of a column in a table, including the column index, * width, minimum width, preferred width and maximum width. - * - * @author Andrew Selkirk + * + * @author Andrew Selkirk */ public class TableColumn implements Serializable @@ -59,7 +59,7 @@ public class TableColumn /** * The name for the columnWidth property (this field is - * obsolete and no longer used). Note also that the typo in the value + * obsolete and no longer used). Note also that the typo in the value * string is deliberate, to match the specification. */ public static final String COLUMN_WIDTH_PROPERTY = "columWidth"; @@ -158,9 +158,9 @@ public class TableColumn } /** - * Creates a new TableColumn that maps to the specified column + * Creates a new TableColumn that maps to the specified column * in the related table model. The default width is 75 units. - * + * * @param modelIndex the index of the column in the model */ public TableColumn(int modelIndex) @@ -169,9 +169,9 @@ public class TableColumn } /** - * Creates a new TableColumn that maps to the specified column + * Creates a new TableColumn that maps to the specified column * in the related table model, and has the specified width. - * + * * @param modelIndex the index of the column in the model * @param width the width */ @@ -181,10 +181,10 @@ public class TableColumn } /** - * Creates a new TableColumn that maps to the specified column + * Creates a new TableColumn that maps to the specified column * in the related table model, and has the specified width, * cellRenderer and cellEditor. - * + * * @param modelIndex the index of the column in the model * @param width the width * @param cellRenderer the cell renderer (null permitted). @@ -206,9 +206,9 @@ public class TableColumn * Sets the index of the column in the related {@link TableModel} that this * TableColumn maps to, and sends a {@link PropertyChangeEvent} * (with the property name 'modelIndex') to all registered listeners. - * + * * @param modelIndex the column index in the model. - * + * * @see #getModelIndex() */ public void setModelIndex(int modelIndex) @@ -224,9 +224,9 @@ public class TableColumn /** * Returns the index of the column in the related {@link TableModel} that * this TableColumn maps to. - * + * * @return the model index. - * + * * @see #setModelIndex(int) */ public int getModelIndex() @@ -237,15 +237,15 @@ public class TableColumn /** * Sets the identifier for the column and sends a {@link PropertyChangeEvent} * (with the property name 'identifier') to all registered listeners. - * + * * @param identifier the identifier (null permitted). - * + * * @see #getIdentifier() */ public void setIdentifier(Object identifier) { if (this.identifier != identifier) - { + { Object oldValue = this.identifier; this.identifier = identifier; changeSupport.firePropertyChange("identifier", oldValue, identifier); @@ -253,10 +253,10 @@ public class TableColumn } /** - * Returns the identifier for the column, or {@link #getHeaderValue()} if the + * Returns the identifier for the column, or {@link #getHeaderValue()} if the * identifier is null. - * - * @return The identifier (or {@link #getHeaderValue()} if the identifier is + * + * @return The identifier (or {@link #getHeaderValue()} if the identifier is * null). */ public Object getIdentifier() @@ -267,29 +267,29 @@ public class TableColumn } /** - * Sets the header value and sends a {@link PropertyChangeEvent} (with the + * Sets the header value and sends a {@link PropertyChangeEvent} (with the * property name {@link #HEADER_VALUE_PROPERTY}) to all registered listeners. - * + * * @param headerValue the value of the header (null permitted). - * + * * @see #getHeaderValue() */ public void setHeaderValue(Object headerValue) { if (this.headerValue == headerValue) return; - + Object oldValue = this.headerValue; this.headerValue = headerValue; - changeSupport.firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, + changeSupport.firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); } /** * Returns the header value. - * + * * @return the value of the header. - * + * * @see #getHeaderValue() */ public Object getHeaderValue() @@ -298,30 +298,30 @@ public class TableColumn } /** - * Sets the renderer for the column header and sends a - * {@link PropertyChangeEvent} (with the property name + * Sets the renderer for the column header and sends a + * {@link PropertyChangeEvent} (with the property name * {@link #HEADER_RENDERER_PROPERTY}) to all registered listeners. - * + * * @param renderer the header renderer (null permitted). - * + * * @see #getHeaderRenderer() */ public void setHeaderRenderer(TableCellRenderer renderer) { if (headerRenderer == renderer) return; - + TableCellRenderer oldRenderer = headerRenderer; headerRenderer = renderer; - changeSupport.firePropertyChange(HEADER_RENDERER_PROPERTY, oldRenderer, + changeSupport.firePropertyChange(HEADER_RENDERER_PROPERTY, oldRenderer, headerRenderer); } /** * Returns the renderer for the column header. - * + * * @return The renderer for the column header (possibly null). - * + * * @see #setHeaderRenderer(TableCellRenderer) */ public TableCellRenderer getHeaderRenderer() @@ -330,30 +330,30 @@ public class TableColumn } /** - * Sets the renderer for cells in this column and sends a - * {@link PropertyChangeEvent} (with the property name + * Sets the renderer for cells in this column and sends a + * {@link PropertyChangeEvent} (with the property name * {@link #CELL_RENDERER_PROPERTY}) to all registered listeners. - * + * * @param renderer the cell renderer (null permitted). - * + * * @see #getCellRenderer() */ public void setCellRenderer(TableCellRenderer renderer) { if (cellRenderer == renderer) return; - + TableCellRenderer oldRenderer = cellRenderer; cellRenderer = renderer; - changeSupport.firePropertyChange(CELL_RENDERER_PROPERTY, oldRenderer, + changeSupport.firePropertyChange(CELL_RENDERER_PROPERTY, oldRenderer, cellRenderer); } /** * Returns the renderer for the table cells in this column. - * + * * @return The cell renderer (possibly null). - * + * * @see #setCellRenderer(TableCellRenderer) */ public TableCellRenderer getCellRenderer() @@ -364,9 +364,9 @@ public class TableColumn /** * Sets the cell editor for the column and sends a {@link PropertyChangeEvent} * (with the property name 'cellEditor') to all registered listeners. - * + * * @param cellEditor the cell editor (null permitted). - * + * * @see #getCellEditor() */ public void setCellEditor(TableCellEditor cellEditor) @@ -380,11 +380,11 @@ public class TableColumn } /** - * Returns the cell editor for the column (the default value is + * Returns the cell editor for the column (the default value is * null). - * + * * @return The cell editor (possibly null). - * + * * @see #setCellEditor(TableCellEditor) */ public TableCellEditor getCellEditor() @@ -393,18 +393,18 @@ public class TableColumn } /** - * Sets the width for the column and sends a {@link PropertyChangeEvent} + * Sets the width for the column and sends a {@link PropertyChangeEvent} * (with the property name 'width') to all registered listeners. If the new - * width falls outside the range getMinWidth() to getMaxWidth() it is + * width falls outside the range getMinWidth() to getMaxWidth() it is * adjusted to the appropriate boundary value. - * + * * @param newWidth the width. - * + * * @see #getWidth() */ public void setWidth(int newWidth) { - int oldWidth = width; + int oldWidth = width; if (newWidth < minWidth) width = minWidth; @@ -425,7 +425,7 @@ public class TableColumn /** * Returns the width for the column (the default value is 75). - * + * * @return The width. * * @see #setWidth(int) @@ -436,14 +436,14 @@ public class TableColumn } /** - * Sets the preferred width for the column and sends a - * {@link PropertyChangeEvent} (with the property name 'preferredWidth') to - * all registered listeners. If necessary, the supplied value will be - * adjusted to fit in the range {@link #getMinWidth()} to + * Sets the preferred width for the column and sends a + * {@link PropertyChangeEvent} (with the property name 'preferredWidth') to + * all registered listeners. If necessary, the supplied value will be + * adjusted to fit in the range {@link #getMinWidth()} to * {@link #getMaxWidth()}. - * + * * @param preferredWidth the preferred width. - * + * * @see #getPreferredWidth() */ public void setPreferredWidth(int preferredWidth) @@ -457,16 +457,16 @@ public class TableColumn else this.preferredWidth = preferredWidth; - changeSupport.firePropertyChange("preferredWidth", oldPrefWidth, + changeSupport.firePropertyChange("preferredWidth", oldPrefWidth, this.preferredWidth); } /** - * Returns the preferred width for the column (the default value is + * Returns the preferred width for the column (the default value is * 75). - * + * * @return The preferred width. - * + * * @see #setPreferredWidth(int) */ public int getPreferredWidth() @@ -475,14 +475,14 @@ public class TableColumn } /** - * Sets the minimum width for the column and sends a + * Sets the minimum width for the column and sends a * {@link PropertyChangeEvent} (with the property name 'minWidth') to all - * registered listeners. If the current width and/or + * registered listeners. If the current width and/or * preferredWidth are less than the new minimum width, they are * adjusted accordingly. - * + * * @param minWidth the minimum width (negative values are treated as 0). - * + * * @see #getMinWidth() */ public void setMinWidth(int minWidth) @@ -504,9 +504,9 @@ public class TableColumn /** * Returns the TableColumn's minimum width (the default value * is 15). - * + * * @return The minimum width. - * + * * @see #setMinWidth(int) */ public int getMinWidth() @@ -515,14 +515,14 @@ public class TableColumn } /** - * Sets the maximum width for the column and sends a + * Sets the maximum width for the column and sends a * {@link PropertyChangeEvent} (with the property name 'maxWidth') to all - * registered listeners. If the current width and/or - * preferredWidth are greater than the new maximum width, they + * registered listeners. If the current width and/or + * preferredWidth are greater than the new maximum width, they * are adjusted accordingly. - * + * * @param maxWidth the maximum width. - * + * * @see #getMaxWidth() */ public void setMaxWidth(int maxWidth) @@ -542,9 +542,9 @@ public class TableColumn /** * Returns the maximum width for the column (the default value is * {@link Integer#MAX_VALUE}). - * + * * @return The maximum width for the column. - * + * * @see #setMaxWidth(int) */ public int getMaxWidth() @@ -556,10 +556,10 @@ public class TableColumn * Sets the flag that controls whether or not the column is resizable, and * sends a {@link PropertyChangeEvent} (with the property name 'isResizable') * to all registered listeners. - * + * * @param isResizable true if this column is resizable, * false otherwise. - * + * * @see #getResizable() */ public void setResizable(boolean isResizable) @@ -567,17 +567,17 @@ public class TableColumn if (this.isResizable != isResizable) { this.isResizable = isResizable; - changeSupport.firePropertyChange("isResizable", !this.isResizable, + changeSupport.firePropertyChange("isResizable", !this.isResizable, isResizable); } } /** * Returns the flag that controls whether or not the column is resizable. - * + * * @return true if this column is resizable, * false otherwise. - * + * * @see #setResizable(boolean) */ public boolean getResizable() @@ -594,7 +594,7 @@ public class TableColumn { if (headerRenderer == null) return; - Component c = headerRenderer.getTableCellRendererComponent(null, + Component c = headerRenderer.getTableCellRendererComponent(null, getHeaderValue(), false, false, 0, 0); Dimension min = c.getMinimumSize(); Dimension max = c.getMaximumSize(); @@ -624,27 +624,27 @@ public class TableColumn } /** - * Adds a listener so that it receives {@link PropertyChangeEvent} + * Adds a listener so that it receives {@link PropertyChangeEvent} * notifications from this column. The properties defined by the column are: *
    *
  • width - see {@link #setWidth(int)};
  • *
  • preferredWidth - see {@link #setPreferredWidth(int)};
  • - *
  • minWidth - see {@link #setMinWidth(int)};
  • + *
  • minWidth - see {@link #setMinWidth(int)};
  • *
  • maxWidth - see {@link #setMaxWidth(int)};
  • *
  • modelIndex - see {@link #setModelIndex(int)};
  • *
  • isResizable - see {@link #setResizable(boolean)};
  • - *
  • cellRenderer - see + *
  • cellRenderer - see * {@link #setCellRenderer(TableCellRenderer)};
  • - *
  • cellEditor - see + *
  • cellEditor - see * {@link #setCellEditor(TableCellEditor)};
  • - *
  • headerRenderer - see + *
  • headerRenderer - see * {@link #setHeaderRenderer(TableCellRenderer)};
  • *
  • headerValue - see {@link #setHeaderValue(Object)};
  • *
  • identifier - see {@link #setIdentifier(Object)}.
  • *
- * + * * @param listener the listener to add (null is ignored). - * + * * @see #removePropertyChangeListener(PropertyChangeListener) */ public synchronized void addPropertyChangeListener( @@ -654,11 +654,11 @@ public class TableColumn } /** - * Removes a listener so that it no longer receives - * {@link PropertyChangeEvent} notifications from this column. If - * listener is not registered with the column, or is + * Removes a listener so that it no longer receives + * {@link PropertyChangeEvent} notifications from this column. If + * listener is not registered with the column, or is * null, this method does nothing. - * + * * @param listener the listener to remove (null is ignored). */ public synchronized void removePropertyChangeListener( @@ -670,9 +670,9 @@ public class TableColumn /** * Returns the property change listeners for this TableColumn. * An empty array is returned if there are currently no listeners registered. - * + * * @return The property change listeners registered with this column. - * + * * @since 1.4 */ public PropertyChangeListener[] getPropertyChangeListeners() @@ -683,7 +683,7 @@ public class TableColumn /** * Creates and returns a default renderer for the column header (in this case, * a new instance of {@link DefaultTableCellRenderer}). - * + * * @return A default renderer for the column header. */ protected TableCellRenderer createDefaultHeaderRenderer() diff --git a/libjava/classpath/javax/swing/table/TableColumnModel.java b/libjava/classpath/javax/swing/table/TableColumnModel.java index 7e8a70c..9a95f92 100644 --- a/libjava/classpath/javax/swing/table/TableColumnModel.java +++ b/libjava/classpath/javax/swing/table/TableColumnModel.java @@ -49,17 +49,17 @@ import javax.swing.event.TableColumnModelListener; /** * The interface used by {@link JTable} to access the columns in the table * view. - * + * * @author Andrew Selkirk */ public interface TableColumnModel { /** * Adds a column to the model. - * + * * @param column the new column (null not permitted). - * - * @throws IllegalArgumentException if column is + * + * @throws IllegalArgumentException if column is * null. */ void addColumn(TableColumn column); @@ -67,14 +67,14 @@ public interface TableColumnModel /** * Removes a column from the model. If column is not defined * in the model, this method does nothing. - * + * * @param column TableColumn */ void removeColumn(TableColumn column); /** * Moves a column. - * + * * @param columnIndex Index of column to move * @param newIndex New index of column */ @@ -83,23 +83,23 @@ public interface TableColumnModel /** * Sets the column margin and sends a {@link ChangeEvent} to all registered * {@link TableColumnModelListener}s registered with the model. - * + * * @param margin the column margin. - * + * * @see #getColumnMargin() */ void setColumnMargin(int margin); /** * Returns the number of columns in the model. - * + * * @return The column count. */ int getColumnCount(); /** * Returns an enumeration of the columns in the model. - * + * * @return An enumeration of the columns in the model. */ Enumeration getColumns(); @@ -108,28 +108,28 @@ public interface TableColumnModel * Returns the index of the {@link TableColumn} with the given identifier. * * @param identifier the identifier (null not permitted). - * + * * @return The index of the {@link TableColumn} with the given identifier. - * - * @throws IllegalArgumentException if identifier is + * + * @throws IllegalArgumentException if identifier is * null or there is no column with that identifier. */ int getColumnIndex(Object identifier); /** * Returns the TableColumn at the specified index. - * + * * @param columnIndex the column index. - * + * * @return The table column. */ TableColumn getColumn(int columnIndex); /** * Returns the column margin. - * + * * @return The column margin. - * + * * @see #setColumnMargin(int) */ int getColumnMargin(); @@ -143,11 +143,11 @@ public interface TableColumnModel *
  • individual column widths are taken into account, but the column margin * is ignored.
  • * - * If no column contains the specified position, this method returns + * If no column contains the specified position, this method returns * -1. - * + * * @param xPosition the x-position. - * + * * @return The column index, or -1. */ int getColumnIndexAtX(int xPosition); @@ -164,17 +164,17 @@ public interface TableColumnModel * Sets the flag that indicates whether or not column selection is allowed. * * @param allowed the new flag value. - * + * * @see #getColumnSelectionAllowed() */ void setColumnSelectionAllowed(boolean allowed); /** - * Returns true if column selection is allowed, and + * Returns true if column selection is allowed, and * false if column selection is not allowed. * * @return A boolean. - * + * * @see #setColumnSelectionAllowed(boolean) */ boolean getColumnSelectionAllowed(); @@ -187,29 +187,29 @@ public interface TableColumnModel /** * Returns the number of selected columns in the model. - * + * * @return The selected column count. - * + * * @see #getSelectionModel() */ int getSelectedColumnCount(); /** - * Sets the selection model that will be used to keep track of the selected + * Sets the selection model that will be used to keep track of the selected * columns. * * @param model the selection model (null not permitted). - * - * @throws IllegalArgumentException if model is + * + * @throws IllegalArgumentException if model is * null. */ void setSelectionModel(ListSelectionModel model); /** * Returns the selection model used to track table column selections. - * + * * @return The selection model. - * + * * @see #setSelectionModel(ListSelectionModel) */ ListSelectionModel getSelectionModel(); @@ -223,9 +223,9 @@ public interface TableColumnModel void addColumnModelListener(TableColumnModelListener listener); /** - * Deregisters a listener, so that it will no longer receive + * Deregisters a listener, so that it will no longer receive * {@link TableColumnModelEvent} notifications. - * + * * @param listener the listener. */ void removeColumnModelListener(TableColumnModelListener listener); diff --git a/libjava/classpath/javax/swing/table/TableModel.java b/libjava/classpath/javax/swing/table/TableModel.java index 7629fa4..d8fb713 100644 --- a/libjava/classpath/javax/swing/table/TableModel.java +++ b/libjava/classpath/javax/swing/table/TableModel.java @@ -40,48 +40,48 @@ package javax.swing.table; import javax.swing.event.TableModelListener; /** - * A TableModel is a two dimensional data structure that + * A TableModel is a two dimensional data structure that * can store arbitrary Object instances, usually for the - * purpose of display in a {@link javax.swing.JTable} component. Individual - * objects can be accessed by specifying the row index and column index for + * purpose of display in a {@link javax.swing.JTable} component. Individual + * objects can be accessed by specifying the row index and column index for * the object. Each column in the model has a name associated with it. *

    * The {@link DefaultTableModel} class provides one implementation of * this interface. - * + * * @author Andrew Selkirk */ public interface TableModel { /** * Returns the number of rows in the model. - * + * * @return The row count. */ int getRowCount(); /** * Returns the number of columns in the model. - * + * * @return The column count */ int getColumnCount(); /** * Returns the name of a column in the model. - * + * * @param columnIndex the column index. - * + * * @return The column name. */ String getColumnName(int columnIndex); /** * Returns the Class for all Object instances - * in the specified column. - * + * in the specified column. + * * @param columnIndex the column index. - * + * * @return The class. */ Class getColumnClass(int columnIndex); @@ -89,10 +89,10 @@ public interface TableModel /** * Returns true if the cell is editable, and false * otherwise. - * + * * @param rowIndex the row index. * @param columnIndex the column index. - * + * * @return true if editable, false otherwise. */ boolean isCellEditable(int rowIndex, int columnIndex); @@ -100,17 +100,17 @@ public interface TableModel /** * Returns the value (Object) at a particular cell in the * table. - * + * * @param rowIndex the row index. * @param columnIndex the column index. - * + * * @return The value at the specified cell. */ Object getValueAt(int rowIndex, int columnIndex); /** - * Sets the value at a particular cell in the table. - * + * Sets the value at a particular cell in the table. + * * @param aValue the value (null permitted). * @param rowIndex the row index. * @param columnIndex the column index. @@ -120,14 +120,14 @@ public interface TableModel /** * Adds a listener to the model. The listener will receive notification * of updates to the model. - * + * * @param listener the listener. */ void addTableModelListener(TableModelListener listener); /** * Removes a listener from the model. - * + * * @param listener the listener. */ void removeTableModelListener(TableModelListener listener); diff --git a/libjava/classpath/javax/swing/text/AbstractDocument.java b/libjava/classpath/javax/swing/text/AbstractDocument.java index 29b20b3..25915bb 100644 --- a/libjava/classpath/javax/swing/text/AbstractDocument.java +++ b/libjava/classpath/javax/swing/text/AbstractDocument.java @@ -149,22 +149,22 @@ public abstract class AbstractDocument implements Document, Serializable * Manages event listeners for this Document. */ protected EventListenerList listenerList = new EventListenerList(); - + /** * Stores the current writer thread. Used for locking. - */ + */ private Thread currentWriter = null; - + /** * The number of readers. Used for locking. */ private int numReaders = 0; - + /** * The number of current writers. If this is > 1 then the same thread entered * the write lock more than once. */ - private int numWriters = 0; + private int numWriters = 0; /** An instance of a DocumentFilter.FilterBypass which allows calling * the insert, remove and replace method without checking for an installed @@ -234,17 +234,17 @@ public abstract class AbstractDocument implements Document, Serializable writeUnlock(); } } - + /** Returns the DocumentFilter.FilterBypass instance for this * document and create it if it does not exist yet. - * + * * @return This document's DocumentFilter.FilterBypass instance. */ private DocumentFilter.FilterBypass getBypass() { if (bypass == null) bypass = new Bypass(); - + return bypass; } @@ -283,7 +283,7 @@ public abstract class AbstractDocument implements Document, Serializable * @see BranchElement */ protected Element createBranchElement(Element parent, - AttributeSet attributes) + AttributeSet attributes) { return new BranchElement(parent, attributes); } @@ -303,7 +303,7 @@ public abstract class AbstractDocument implements Document, Serializable * @see LeafElement */ protected Element createLeafElement(Element parent, AttributeSet attributes, - int start, int end) + int start, int end) { return new LeafElement(parent, attributes, start, end); } @@ -413,7 +413,7 @@ public abstract class AbstractDocument implements Document, Serializable Object val = getProperty(AsyncLoadPriority); int prio = -1; if (val != null) - prio = ((Integer) val).intValue(); + prio = ((Integer) val).intValue(); return prio; } @@ -621,13 +621,13 @@ public abstract class AbstractDocument implements Document, Serializable /** * Inserts a String into this Document at the specified * position and assigning the specified attributes to it. - * + * *

    If a {@link DocumentFilter} is installed in this document, the * corresponding method of the filter object is called.

    - * + * *

    The method has no effect when text is null * or has a length of zero.

    - * + * * * @param offset the location at which the string should be inserted * @param text the content to be inserted @@ -665,7 +665,7 @@ public abstract class AbstractDocument implements Document, Serializable return; DefaultDocumentEvent event = new DefaultDocumentEvent(offset, text.length(), - DocumentEvent.EventType.INSERT); + DocumentEvent.EventType.INSERT); UndoableEdit undo = content.insertString(offset, text); if (undo != null) @@ -1078,14 +1078,14 @@ public abstract class AbstractDocument implements Document, Serializable // balance by using a finally block: // readLock() // try - // { - // doSomethingHere + // { + // doSomethingHere // } // finally // { // readUnlock(); // } - + // All that the JDK seems to check for is that you don't call unlock // more times than you've previously called lock, but it doesn't make // sure that the threads calling unlock were the same ones that called lock @@ -1096,13 +1096,13 @@ public abstract class AbstractDocument implements Document, Serializable if (currentWriter == Thread.currentThread()) return; - // FIXME: the reference implementation throws a + // FIXME: the reference implementation throws a // javax.swing.text.StateInvariantError here if (numReaders <= 0) throw new IllegalStateException("document lock failure"); - - // If currentWriter is not null, the application code probably had a - // writeLock and then tried to obtain a readLock, in which case + + // If currentWriter is not null, the application code probably had a + // writeLock and then tried to obtain a readLock, in which case // numReaders wasn't incremented numReaders--; notify(); @@ -1110,16 +1110,16 @@ public abstract class AbstractDocument implements Document, Serializable /** * Removes a piece of content from this Document. - * + * *

    If a {@link DocumentFilter} is installed in this document, the * corresponding method of the filter object is called. The * DocumentFilter is called even if length * is zero. This is different from {@link #replace}.

    - * + * *

    Note: When length is zero or below the call is not * forwarded to the underlying {@link AbstractDocument.Content} instance * of this document and no exception is thrown.

    - * + * * @param offset the start offset of the fragment to be removed * @param length the length of the fragment to be removed * @@ -1159,8 +1159,8 @@ public abstract class AbstractDocument implements Document, Serializable DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); - - // The order of the operations below is critical! + + // The order of the operations below is critical! removeUpdate(event); UndoableEdit temp = content.remove(offset, length); @@ -1172,10 +1172,10 @@ public abstract class AbstractDocument implements Document, Serializable /** * Replaces a piece of content in this Document with * another piece of content. - * + * *

    If a {@link DocumentFilter} is installed in this document, the * corresponding method of the filter object is called.

    - * + * *

    The method has no effect if length is zero (and * only zero) and, at the same time, text is * null or has zero length.

    @@ -1196,7 +1196,7 @@ public abstract class AbstractDocument implements Document, Serializable throws BadLocationException { // Bail out if we have a bogus replacement (Behavior observed in RI). - if (length == 0 + if (length == 0 && (text == null || text.length() == 0)) return; @@ -1222,9 +1222,9 @@ public abstract class AbstractDocument implements Document, Serializable writeUnlock(); } } - + void replaceImpl(int offset, int length, String text, - AttributeSet attributes) + AttributeSet attributes) throws BadLocationException { removeImpl(offset, length); @@ -1356,7 +1356,7 @@ public abstract class AbstractDocument implements Document, Serializable } /** - * Blocks until a write lock can be obtained. Must wait if there are + * Blocks until a write lock can be obtained. Must wait if there are * readers currently reading or another thread is currently writing. */ protected synchronized final void writeLock() @@ -1882,7 +1882,7 @@ public abstract class AbstractDocument implements Document, Serializable /** * Returns the resolve parent of this element. * This is taken from the AttributeSet, but if this is null, - * this method instead returns the Element's parent's + * this method instead returns the Element's parent's * AttributeSet * * @return the resolve parent of this element @@ -1919,7 +1919,7 @@ public abstract class AbstractDocument implements Document, Serializable * is equal to this element's AttributeSet, * false otherwise */ - public boolean isEqual(AttributeSet attrs) + public boolean isEqual(AttributeSet attrs) { return attributes.isEqual(attrs); } @@ -2066,7 +2066,7 @@ public abstract class AbstractDocument implements Document, Serializable + "must not be thrown " + "here."); err.initCause(ex); - throw err; + throw err; } b.append("]\n"); } @@ -2137,7 +2137,7 @@ public abstract class AbstractDocument implements Document, Serializable for (int index = 0; index < numChildren; ++index) tmp.add(children[index]); - + return tmp.elements(); } @@ -2337,11 +2337,11 @@ public abstract class AbstractDocument implements Document, Serializable // as beginning from first element each time. for (int index = 0; index < numChildren; ++index) { - Element elem = children[index]; + Element elem = children[index]; - if ((elem.getStartOffset() <= position) - && (position < elem.getEndOffset())) - return elem; + if ((elem.getStartOffset() <= position) + && (position < elem.getEndOffset())) + return elem; } return null; @@ -2359,7 +2359,7 @@ public abstract class AbstractDocument implements Document, Serializable int delta = elements.length - length; int copyFrom = offset + length; // From where to copy. int copyTo = copyFrom + delta; // Where to copy to. - int numMove = numChildren - copyFrom; // How many elements are moved. + int numMove = numChildren - copyFrom; // How many elements are moved. if (numChildren + delta > children.length) { // Gotta grow the array. @@ -2386,7 +2386,7 @@ public abstract class AbstractDocument implements Document, Serializable public String toString() { return ("BranchElement(" + getName() + ") " - + getStartOffset() + "," + getEndOffset() + "\n"); + + getStartOffset() + "," + getEndOffset() + "\n"); } } @@ -2403,7 +2403,7 @@ public abstract class AbstractDocument implements Document, Serializable * The threshold that indicates when we switch to using a Hashtable. */ private static final int THRESHOLD = 10; - + /** The starting offset of the change. */ private int offset; @@ -2417,7 +2417,7 @@ public abstract class AbstractDocument implements Document, Serializable * Maps Element to their change records. This is only * used when the changes array gets too big. We can use an * (unsync'ed) HashMap here, since changes to this are (should) always - * be performed inside a write lock. + * be performed inside a write lock. */ private HashMap changes; @@ -2435,7 +2435,7 @@ public abstract class AbstractDocument implements Document, Serializable * @param type the type of change */ public DefaultDocumentEvent(int offset, int length, - DocumentEvent.EventType type) + DocumentEvent.EventType type) { this.offset = offset; this.length = length; @@ -2548,7 +2548,7 @@ public abstract class AbstractDocument implements Document, Serializable } return change; } - + /** * Returns a String description of the change event. This returns the * toString method of the Vector of edits. @@ -2558,7 +2558,7 @@ public abstract class AbstractDocument implements Document, Serializable return edits.toString(); } } - + /** * An implementation of {@link DocumentEvent.ElementChange} to be added * to {@link DefaultDocumentEvent}s. @@ -2588,7 +2588,7 @@ public abstract class AbstractDocument implements Document, Serializable * The added elements. */ private Element[] added; - + /** * Creates a new ElementEdit. * @@ -2598,7 +2598,7 @@ public abstract class AbstractDocument implements Document, Serializable * @param added the added elements */ public ElementEdit(Element elem, int index, - Element[] removed, Element[] added) + Element[] removed, Element[] added) { this.elem = elem; this.index = index; @@ -2811,7 +2811,7 @@ public abstract class AbstractDocument implements Document, Serializable public String toString() { return ("LeafElement(" + getName() + ") " - + getStartOffset() + "," + getEndOffset() + "\n"); + + getStartOffset() + "," + getEndOffset() + "\n"); } } @@ -2900,7 +2900,7 @@ public abstract class AbstractDocument implements Document, Serializable { AbstractDocument.this.replaceImpl(offset, length, string, attrs); } - + } - + } diff --git a/libjava/classpath/javax/swing/text/AbstractWriter.java b/libjava/classpath/javax/swing/text/AbstractWriter.java index 8d5a607..e7df26e 100644 --- a/libjava/classpath/javax/swing/text/AbstractWriter.java +++ b/libjava/classpath/javax/swing/text/AbstractWriter.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -66,7 +66,7 @@ public abstract class AbstractWriter // Number of characters we have currently written. private int lineLength; // True if we can apply line wrapping. - private boolean canWrapLines; // FIXME default? + private boolean canWrapLines; // FIXME default? // The number of spaces per indentation level. private int indentSpace = 2; // The current indentation level. @@ -167,7 +167,7 @@ public abstract class AbstractWriter /** * This method must be overridden by a concrete subclass. It is * responsible for iterating over the Elements of the Document and - * writing them out. + * writing them out. */ protected abstract void write() throws IOException, BadLocationException; @@ -182,9 +182,9 @@ public abstract class AbstractWriter { if (! elt.isLeaf()) throw new BadLocationException("Element is not a leaf", - elt.getStartOffset()); - return document.getText(elt.getStartOffset(), - elt.getEndOffset() - elt.getStartOffset()); + elt.getStartOffset()); + return document.getText(elt.getStartOffset(), + elt.getEndOffset() - elt.getStartOffset()); } /** @@ -239,37 +239,37 @@ public abstract class AbstractWriter { if (getCanWrapLines()) { - // FIXME: should we be handling newlines specially here? - for (int i = 0; i < len; ) - { - int start_i = i; - // Find next space. - while (i < len && data[start + i] != ' ') - ++i; - if (i < len && lineLength + i - start_i >= maxLineLength) - writeLineSeparator(); - else if (i < len) - { - // Write the trailing space. - ++i; - } - // Write out the text. - output(data, start + start_i, start + i - start_i); - } + // FIXME: should we be handling newlines specially here? + for (int i = 0; i < len; ) + { + int start_i = i; + // Find next space. + while (i < len && data[start + i] != ' ') + ++i; + if (i < len && lineLength + i - start_i >= maxLineLength) + writeLineSeparator(); + else if (i < len) + { + // Write the trailing space. + ++i; + } + // Write out the text. + output(data, start + start_i, start + i - start_i); + } } else { - int saved_i = start; - for (int i = start; i < start + len; ++i) - { - if (data[i] == NEWLINE) - { - output(data, saved_i, i - saved_i); - writeLineSeparator(); - } - } - if (saved_i < start + len - 1) - output(data, saved_i, start + len - saved_i); + int saved_i = start; + for (int i = start; i < start + len; ++i) + { + if (data[i] == NEWLINE) + { + output(data, saved_i, i - saved_i); + writeLineSeparator(); + } + } + if (saved_i < start + len - 1) + output(data, saved_i, start + len - saved_i); } } @@ -284,9 +284,9 @@ public abstract class AbstractWriter int spaces = indentLevel * indentSpace; if (spaces > 0) { - char[] v = new char[spaces]; - Arrays.fill(v, ' '); - write(v, 0, v.length); + char[] v = new char[spaces]; + Arrays.fill(v, ' '); + write(v, 0, v.length); } indented = true; } @@ -318,7 +318,7 @@ public abstract class AbstractWriter int eltStart = elt.getStartOffset(); int eltEnd = elt.getEndOffset(); return ((eltStart >= startOffset && eltStart < endOffset) - || (eltEnd >= startOffset && eltEnd < endOffset)); + || (eltEnd >= startOffset && eltEnd < endOffset)); } /** @@ -472,10 +472,10 @@ public abstract class AbstractWriter Enumeration e = attrs.getAttributeNames(); while (e.hasMoreElements()) { - Object name = e.nextElement(); - Object val = attrs.getAttribute(name); - write(name + "=" + val); - writeLineSeparator(); + Object name = e.nextElement(); + Object val = attrs.getAttribute(name); + write(name + "=" + val); + writeLineSeparator(); } } } diff --git a/libjava/classpath/javax/swing/text/AsyncBoxView.java b/libjava/classpath/javax/swing/text/AsyncBoxView.java index 327c2b8..aca77aa 100644 --- a/libjava/classpath/javax/swing/text/AsyncBoxView.java +++ b/libjava/classpath/javax/swing/text/AsyncBoxView.java @@ -160,7 +160,7 @@ public class AsyncBoxView * * @param index the index of the child view * @param a the current allocation of this view - * + * * @return the current allocation for a child view */ public synchronized Shape getChildAllocation(int index, Shape a) @@ -216,7 +216,7 @@ public class AsyncBoxView /** * Returns the current allocation of the child view with the specified * index. Note that this will not update any location information. - * + * * @param index the index of the requested child view * * @return the current allocation of the child view with the specified @@ -428,7 +428,7 @@ public class AsyncBoxView * Returns the child view for which this ChildState represents * the layout state. * - * @return the child view for this child state object + * @return the child view for this child state object */ public View getChildView() { @@ -1002,7 +1002,7 @@ public class AsyncBoxView replace(0, 0, added); } } - + /** * Returns the span along an axis that is taken up by the insets. * @@ -1355,14 +1355,14 @@ public class AsyncBoxView return; } } - int index = getViewIndexAtPosition(view.getStartOffset(), + int index = getViewIndexAtPosition(view.getStartOffset(), Position.Bias.Forward); ChildState cs = getChildState(index); cs.preferenceChanged(width, height); LayoutQueue q = getLayoutQueue(); q.addTask(cs); q.addTask(flushTask); - } + } } /** @@ -1375,7 +1375,7 @@ public class AsyncBoxView * @param e the document event * @param a the current allocation of this view */ - protected void updateLayout(DocumentEvent.ElementChange ec, + protected void updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a) { if (ec != null) @@ -1385,8 +1385,8 @@ public class AsyncBoxView locator.childChanged(cs); } } - - + + /** * Returns the ChildState object associated with the child view * at the specified index. @@ -1416,7 +1416,7 @@ public class AsyncBoxView /** * Returns the child view index of the view that represents the specified * position in the document model. - * + * * @param pos the position in the model * @param b the bias * diff --git a/libjava/classpath/javax/swing/text/AttributeSet.java b/libjava/classpath/javax/swing/text/AttributeSet.java index 2d39881..a596cd4 100644 --- a/libjava/classpath/javax/swing/text/AttributeSet.java +++ b/libjava/classpath/javax/swing/text/AttributeSet.java @@ -1,4 +1,4 @@ -/* AttributeSet.java -- +/* AttributeSet.java -- Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -52,7 +52,7 @@ import java.util.Enumeration; * @author Roman Kennke (roman@kennke.org) */ public interface AttributeSet -{ +{ /** * Used as keys to identify character-run attributes. */ @@ -191,5 +191,5 @@ public interface AttributeSet * are equal to the attributes in this AttributeSet, * false otherwise */ - boolean isEqual(AttributeSet attr); + boolean isEqual(AttributeSet attr); } diff --git a/libjava/classpath/javax/swing/text/BoxView.java b/libjava/classpath/javax/swing/text/BoxView.java index 0754d9b..325364d 100644 --- a/libjava/classpath/javax/swing/text/BoxView.java +++ b/libjava/classpath/javax/swing/text/BoxView.java @@ -155,8 +155,8 @@ public class BoxView * automatically when any of the child view changes its preferences * via {@link #preferenceChanged(View, boolean, boolean)}. * - * The layout will be updated the next time when - * {@link #setSize(float, float)} is called, typically from within the + * The layout will be updated the next time when + * {@link #setSize(float, float)} is called, typically from within the * {@link #paint(Graphics, Shape)} method. * * Valid values for the axis are {@link View#X_AXIS} and @@ -387,7 +387,7 @@ public class BoxView int totalDescentMin = 0; int totalDescentPref = 0; int totalDescentMax = 0; - + int count = getViewCount(); for (int i = 0; i < count; i++) { @@ -578,7 +578,7 @@ public class BoxView return res; } - + /** * Returns true if the specified point lies before the @@ -699,7 +699,7 @@ public class BoxView * Computes the allocation for a child View. The parameter * a stores the allocation of this CompositeView * and is then adjusted to hold the allocation of the child view. - * + * * @param index * the index of the child View * @param a @@ -957,13 +957,13 @@ public class BoxView updateRequirements(axis); return requirements[axis].alignment; } - + /** * Called by a child View when its preferred span has changed. - * + * * @param width indicates that the preferred width of the child changed. * @param height indicates that the preferred height of the child changed. - * @param child the child View. + * @param child the child View. */ public void preferenceChanged(View child, boolean width, boolean height) { @@ -979,7 +979,7 @@ public class BoxView } super.preferenceChanged(child, width, height); } - + /** * Maps the document model position pos to a Shape * in the view coordinate space. This method overrides CompositeView's diff --git a/libjava/classpath/javax/swing/text/Caret.java b/libjava/classpath/javax/swing/text/Caret.java index d641190..06972f9 100644 --- a/libjava/classpath/javax/swing/text/Caret.java +++ b/libjava/classpath/javax/swing/text/Caret.java @@ -1,4 +1,4 @@ -/* Caret.java -- +/* Caret.java -- Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -77,7 +77,7 @@ public interface Caret * @param c the text component to install this caret to */ void install(JTextComponent c); - + /** * Deinstalls this Caret from the specified text component. * This usually involves removing listeners from the text component. @@ -105,7 +105,7 @@ public interface Caret * @param rate the new blink rate to set */ void setBlinkRate(int rate); - + /** * Returns the current position of this Caret within the * Document. @@ -125,7 +125,7 @@ public interface Caret * @see #moveDot(int) */ void setDot(int dot); - + /** * Moves the dot location without touching the * mark. This is used when making a selection. @@ -135,7 +135,7 @@ public interface Caret * @see #setDot(int) */ void moveDot(int dot); - + /** * Returns the current position of the mark. The * mark marks the location in the Document that @@ -145,7 +145,7 @@ public interface Caret * @return the current position of the mark */ int getMark(); - + /** * Returns the current visual position of this Caret. * @@ -194,7 +194,7 @@ public interface Caret * Caret, false hides it. * * @param v the visibility to set - */ + */ void setVisible(boolean v); /** @@ -203,5 +203,5 @@ public interface Caret * * @param g the graphics context to render to */ - void paint(Graphics g); + void paint(Graphics g); } diff --git a/libjava/classpath/javax/swing/text/ComponentView.java b/libjava/classpath/javax/swing/text/ComponentView.java index 8de4de6..3680b42 100644 --- a/libjava/classpath/javax/swing/text/ComponentView.java +++ b/libjava/classpath/javax/swing/text/ComponentView.java @@ -1,4 +1,4 @@ -/* ComponentView.java -- +/* ComponentView.java -- Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -459,7 +459,7 @@ public class ComponentView extends View } } } - + /** * Maps coordinates from the View's space into a position * in the document model. diff --git a/libjava/classpath/javax/swing/text/CompositeView.java b/libjava/classpath/javax/swing/text/CompositeView.java index 570fc95..ae3c79d 100644 --- a/libjava/classpath/javax/swing/text/CompositeView.java +++ b/libjava/classpath/javax/swing/text/CompositeView.java @@ -309,7 +309,7 @@ public abstract class CompositeView * listed valid values */ public Shape modelToView(int p1, Position.Bias b1, - int p2, Position.Bias b2, Shape a) + int p2, Position.Bias b2, Shape a) throws BadLocationException { // TODO: This is most likely not 100% ok, figure out what else is to @@ -346,7 +346,7 @@ public abstract class CompositeView * of the caret when navigating around the document with the arrow keys. This * is a convenience method for {@link #getNextNorthSouthVisualPositionFrom} * and {@link #getNextEastWestVisualPositionFrom}. - * + * * @param pos * the model position to start search from * @param b @@ -662,7 +662,7 @@ public abstract class CompositeView // This limitation is described as PR 27345. int index = getViewIndex(pos, b); View v = null; - + if (index == -1) return pos; @@ -673,7 +673,7 @@ public abstract class CompositeView // provided. if (index <= 0) return pos; - + v = getView(index - 1); break; case SOUTH: @@ -681,13 +681,13 @@ public abstract class CompositeView // provided. if (index >= getViewCount() - 1) return pos; - + v = getView(index + 1); break; default: throw new IllegalArgumentException(); } - + return v.getNextVisualPositionFrom(pos, b, a, direction, biasRet); } @@ -738,9 +738,9 @@ public abstract class CompositeView // // This limitation is described as PR 27346. int index; - + View v = null; - + switch (direction) { case EAST: @@ -749,7 +749,7 @@ public abstract class CompositeView // provided. if (index == -1) return pos; - + v = getView(index); break; case WEST: @@ -758,13 +758,13 @@ public abstract class CompositeView // provided. if (index == -1) return pos; - + v = getView(index); break; default: throw new IllegalArgumentException(); } - + return v.getNextVisualPositionFrom(pos, b, a, diff --git a/libjava/classpath/javax/swing/text/DefaultCaret.java b/libjava/classpath/javax/swing/text/DefaultCaret.java index c4c2580..acfcdb3 100644 --- a/libjava/classpath/javax/swing/text/DefaultCaret.java +++ b/libjava/classpath/javax/swing/text/DefaultCaret.java @@ -70,15 +70,15 @@ import javax.swing.text.Position.Bias; public class DefaultCaret extends Rectangle implements Caret, FocusListener, MouseListener, MouseMotionListener { - + /** A text component in the current VM which currently has a * text selection or null. - */ + */ static JTextComponent componentWithSelection; /** An implementation of NavigationFilter.FilterBypass which delegates - * to the corresponding methods of the DefaultCaret. - * + * to the corresponding methods of the DefaultCaret. + * * @author Robert Schuster (robertschuster@fsfe.org) */ class Bypass extends NavigationFilter.FilterBypass @@ -98,9 +98,9 @@ public class DefaultCaret extends Rectangle { DefaultCaret.this.setDotImpl(dot); } - + } - + /** * Controls the blinking of the caret. * @@ -116,11 +116,11 @@ public class DefaultCaret extends Rectangle * the caret visible one iteration longer. */ boolean ignoreNextEvent; - + /** * Receives notification when the blink timer fires and updates the visible * state of the caret. - * + * * @param event the action event */ public void actionPerformed(ActionEvent event) @@ -138,7 +138,7 @@ public class DefaultCaret extends Rectangle /** * Listens for changes in the text component's document and updates the * caret accordingly. - * + * * @author Roman Kennke (kennke@aicas.com) */ private class DocumentHandler implements DocumentListener @@ -162,10 +162,10 @@ public class DefaultCaret extends Rectangle */ public void insertUpdate(DocumentEvent event) { - if (policy == ALWAYS_UPDATE || - (SwingUtilities.isEventDispatchThread() && + if (policy == ALWAYS_UPDATE || + (SwingUtilities.isEventDispatchThread() && policy == UPDATE_WHEN_ON_EDT)) - { + { int dot = getDot(); setDot(dot + event.getLength()); } @@ -216,14 +216,14 @@ public class DefaultCaret extends Rectangle */ public void propertyChange(PropertyChangeEvent e) { - String name = e.getPropertyName(); - + String name = e.getPropertyName(); + if (name.equals("document")) { Document oldDoc = (Document) e.getOldValue(); if (oldDoc != null) oldDoc.removeDocumentListener(documentListener); - + Document newDoc = (Document) e.getNewValue(); if (newDoc != null) newDoc.addDocumentListener(documentListener); @@ -238,19 +238,19 @@ public class DefaultCaret extends Rectangle active = (((Boolean) e.getNewValue()).booleanValue() && textComponent.isEditable()); } - + } - + } /** The serialization UID (compatible with JDK1.5). */ private static final long serialVersionUID = 4325555698756477346L; - + /** * Indicates the Caret position should always be updated after Document * changes even if the updates are not performed on the Event Dispatching * thread. - * + * * @since 1.5 */ public static final int ALWAYS_UPDATE = 2; @@ -259,22 +259,22 @@ public class DefaultCaret extends Rectangle * Indicates the Caret position should not be changed unless the Document * length becomes less than the Caret position, in which case the Caret * is moved to the end of the Document. - * + * * @since 1.5 */ public static final int NEVER_UPDATE = 1; - - /** + + /** * Indicates the Caret position should be updated only if Document changes * are made on the Event Dispatcher thread. - * + * * @since 1.5 */ public static final int UPDATE_WHEN_ON_EDT = 0; - + /** Keeps track of the current update policy **/ int policy = UPDATE_WHEN_ON_EDT; - + /** * The ChangeEvent that is fired by {@link #fireStateChanged()}. */ @@ -297,7 +297,7 @@ public class DefaultCaret extends Rectangle /** * The text component in which this caret is installed. - * + * * (Package private to avoid synthetic accessor method.) */ JTextComponent textComponent; @@ -332,11 +332,11 @@ public class DefaultCaret extends Rectangle * package private to avoid an accessor method. */ boolean visible = false; - + /** Indicates whether the text component where the caret is installed is * editable and enabled. If either of these properties is false * the caret is not drawn. - */ + */ boolean active = true; /** @@ -345,7 +345,7 @@ public class DefaultCaret extends Rectangle private Object highlightEntry; private Timer blinkTimer; - + private BlinkTimerListener blinkListener; /** @@ -362,10 +362,10 @@ public class DefaultCaret extends Rectangle { // Nothing to do here. } - + /** Returns the caret's NavigationFilter.FilterBypass instance * and creates it if it does not yet exist. - * + * * @return The caret's NavigationFilter.FilterBypass instance. */ private NavigationFilter.FilterBypass getBypass() @@ -375,17 +375,17 @@ public class DefaultCaret extends Rectangle /** * Sets the Caret update policy. - * + * * @param policy the new policy. Valid values are: * ALWAYS_UPDATE: always update the Caret position, even when Document * updates don't occur on the Event Dispatcher thread. * NEVER_UPDATE: don't update the Caret position unless the Document * length becomes less than the Caret position (then update the * Caret to the end of the Document). - * UPDATE_WHEN_ON_EDT: update the Caret position when the - * Document updates occur on the Event Dispatcher thread. This is the + * UPDATE_WHEN_ON_EDT: update the Caret position when the + * Document updates occur on the Event Dispatcher thread. This is the * default. - * + * * @since 1.5 * @throws IllegalArgumentException if policy is not one of the above. */ @@ -393,15 +393,15 @@ public class DefaultCaret extends Rectangle { if (policy != ALWAYS_UPDATE && policy != NEVER_UPDATE && policy != UPDATE_WHEN_ON_EDT) - throw new + throw new IllegalArgumentException ("policy must be ALWAYS_UPDATE, NEVER__UPDATE, or UPDATE_WHEN_ON_EDT"); this.policy = policy; } - + /** * Gets the caret update policy. - * + * * @return the caret update policy. * @since 1.5 */ @@ -409,11 +409,11 @@ public class DefaultCaret extends Rectangle { return policy; } - + /** * Moves the caret position when the mouse is dragged over the text * component, modifying the selectiony. - * + * *

    When the text component where the caret is installed is disabled, * the selection is not change but you can still scroll the text and * update the caret's location.

    @@ -462,9 +462,9 @@ public class DefaultCaret extends Rectangle // Do not modify selection if component is disabled. if (!textComponent.isEnabled()) return; - + int count = event.getClickCount(); - + if (event.getButton() == MouseEvent.BUTTON1 && count >= 2) { int newDot = getComponent().viewToModel(event.getPoint()); @@ -480,7 +480,7 @@ public class DefaultCaret extends Rectangle else { int wordStart = Utilities.getWordStart(t, newDot); - + // When the mouse points at the offset of the first character // in a word Utilities().getPreviousWord will not return that // word but we want to select that. We have to use @@ -495,7 +495,7 @@ public class DefaultCaret extends Rectangle int nextWord = Utilities.getNextWord(t, newDot); int previousWord = Utilities.getPreviousWord(t, newDot); int previousWordEnd = Utilities.getWordEnd(t, previousWord); - + // If the user clicked in the space between two words, // then select the space. if (newDot >= previousWordEnd && newDot <= nextWord) @@ -517,7 +517,7 @@ public class DefaultCaret extends Rectangle // TODO: Swallowing ok here? } } - + } /** @@ -552,7 +552,7 @@ public class DefaultCaret extends Rectangle */ public void mousePressed(MouseEvent event) { - + // The implementation assumes that consuming the event makes the AWT event // mechanism forget about this event instance and not transfer focus. // By observing how the RI reacts the following behavior has been @@ -617,14 +617,14 @@ public class DefaultCaret extends Rectangle { if (textComponent.isEditable()) { - setVisible(true); + setVisible(true); updateTimerStatus(); } } /** * Sets the caret to invisible. - * + * * @param event the FocusEvent */ public void focusLost(FocusEvent event) @@ -632,13 +632,13 @@ public class DefaultCaret extends Rectangle if (textComponent.isEditable() && event.isTemporary() == false) { setVisible(false); - + // Stop the blinker, if running. if (blinkTimer != null && blinkTimer.isRunning()) blinkTimer.stop(); } } - + /** * Install (if not present) and start the timer, if the caret must blink. The * caret does not blink if it is invisible, or the component is disabled or @@ -724,11 +724,11 @@ public class DefaultCaret extends Rectangle propertyChangeListener = new PropertyChangeHandler(); textComponent.addPropertyChangeListener(propertyChangeListener); documentListener = new DocumentHandler(); - + Document doc = textComponent.getDocument(); if (doc != null) doc.addDocumentListener(documentListener); - + active = textComponent.isEditable() && textComponent.isEnabled(); repaint(); @@ -769,21 +769,21 @@ public class DefaultCaret extends Rectangle { return mark; } - + private void clearHighlight() { Highlighter highlighter = textComponent.getHighlighter(); - + if (highlighter == null) return; - + if (selectionVisible) { try { if (highlightEntry != null) highlighter.changeHighlight(highlightEntry, 0, 0); - + // Free the global variable which stores the text component with an active // selection. if (componentWithSelection == textComponent) @@ -808,22 +808,22 @@ public class DefaultCaret extends Rectangle private void handleHighlight() { Highlighter highlighter = textComponent.getHighlighter(); - + if (highlighter == null) return; - + int p0 = Math.min(dot, mark); int p1 = Math.max(dot, mark); - + if (selectionVisible) { - try - { - if (highlightEntry == null) - highlightEntry = highlighter.addHighlight(p0, p1, getSelectionPainter()); - else - highlighter.changeHighlight(highlightEntry, p0, p1); - + try + { + if (highlightEntry == null) + highlightEntry = highlighter.addHighlight(p0, p1, getSelectionPainter()); + else + highlighter.changeHighlight(highlightEntry, p0, p1); + // If another component currently has a text selection clear that selection // first. if (componentWithSelection != null) @@ -833,21 +833,21 @@ public class DefaultCaret extends Rectangle c.setDot(c.getDot()); } componentWithSelection = textComponent; - - } - catch (BadLocationException e) - { - // This should never happen. - throw new InternalError(); - } + + } + catch (BadLocationException e) + { + // This should never happen. + throw new InternalError(); + } } else { - if (highlightEntry != null) - { - highlighter.removeHighlight(highlightEntry); - highlightEntry = null; - } + if (highlightEntry != null) + { + highlighter.removeHighlight(highlightEntry); + highlightEntry = null; + } } } @@ -861,7 +861,7 @@ public class DefaultCaret extends Rectangle { if (selectionVisible == v) return; - + selectionVisible = v; handleHighlight(); repaint(); @@ -1049,7 +1049,7 @@ public class DefaultCaret extends Rectangle * *

    If the underlying text component has a {@link NavigationFilter} * installed the caret will call the corresponding method of that object.

    - * + * * @param dot the location where to move the dot * * @see #setDot(int) @@ -1062,7 +1062,7 @@ public class DefaultCaret extends Rectangle else moveDotImpl(dot); } - + void moveDotImpl(int dot) { if (dot >= 0) @@ -1071,7 +1071,7 @@ public class DefaultCaret extends Rectangle if (doc != null) this.dot = Math.min(dot, doc.getLength()); this.dot = Math.max(this.dot, 0); - + handleHighlight(); appear(); @@ -1082,10 +1082,10 @@ public class DefaultCaret extends Rectangle * Sets the current position of this Caret within the * Document. This also sets the mark to the new * location. - * + * *

    If the underlying text component has a {@link NavigationFilter} * installed the caret will call the corresponding method of that object.

    - * + * * @param dot * the new position to be set * @see #moveDot(int) @@ -1098,27 +1098,27 @@ public class DefaultCaret extends Rectangle else setDotImpl(dot); } - + void setDotImpl(int dot) { if (dot >= 0) - { + { Document doc = textComponent.getDocument(); if (doc != null) this.dot = Math.min(dot, doc.getLength()); this.dot = Math.max(this.dot, 0); this.mark = this.dot; - + clearHighlight(); - + appear(); } } - + /** * Show the caret (may be hidden due blinking) and adjust the timer not to * hide it (possibly immediately). - * + * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) */ void appear() @@ -1137,7 +1137,7 @@ public class DefaultCaret extends Rectangle visible = true; Rectangle area = null; - int dot = getDot(); + int dot = getDot(); try { area = getComponent().modelToView(dot); @@ -1158,7 +1158,7 @@ public class DefaultCaret extends Rectangle } } repaint(); - } + } /** * Returns true if this Caret is blinking, @@ -1195,7 +1195,7 @@ public class DefaultCaret extends Rectangle * Caret, false hides it. * * @param v the visibility to set - */ + */ public void setVisible(boolean v) { if (v != visible) @@ -1203,17 +1203,17 @@ public class DefaultCaret extends Rectangle visible = v; updateTimerStatus(); Rectangle area = null; - int dot = getDot(); + int dot = getDot(); try - { + { area = getComponent().modelToView(dot); } catch (BadLocationException e) { - AssertionError ae; - ae = new AssertionError("Unexpected bad caret location: " + dot); - ae.initCause(e); - throw ae; + AssertionError ae; + ae = new AssertionError("Unexpected bad caret location: " + dot); + ae.initCause(e); + throw ae; } if (area != null) damage(area); @@ -1258,7 +1258,7 @@ public class DefaultCaret extends Rectangle // Should not happen. throw new InternalError("Caret location not within document range."); } - + repaint(); } @@ -1283,5 +1283,5 @@ public class DefaultCaret extends Rectangle blinkTimer = new Timer(getBlinkRate(), blinkListener); blinkTimer.setRepeats(true); } - + } diff --git a/libjava/classpath/javax/swing/text/DefaultEditorKit.java b/libjava/classpath/javax/swing/text/DefaultEditorKit.java index 0d999a3..b3b7e60 100644 --- a/libjava/classpath/javax/swing/text/DefaultEditorKit.java +++ b/libjava/classpath/javax/swing/text/DefaultEditorKit.java @@ -79,11 +79,11 @@ public class DefaultEditorKit extends EditorKit try { JTextComponent t = getTextComponent(event); - + if (t != null) { int offs = Utilities.getPreviousWord(t, t.getCaretPosition()); - + Caret c = t.getCaret(); c.moveDot(offs); c.setMagicCaretPosition(t.modelToView(offs).getLocation()); @@ -109,11 +109,11 @@ public class DefaultEditorKit extends EditorKit try { JTextComponent t = getTextComponent(event); - + if (t != null) { int offs = Utilities.getNextWord(t, t.getCaretPosition()); - + Caret c = t.getCaret(); c.moveDot(offs); c.setMagicCaretPosition(t.modelToView(offs).getLocation()); @@ -132,17 +132,17 @@ public class DefaultEditorKit extends EditorKit { super(selectionBeginWordAction); } - + public void actionPerformed(ActionEvent event) { try { JTextComponent t = getTextComponent(event); - + if (t != null) { int offs = Utilities.getWordStart(t, t.getCaretPosition()); - + Caret c = t.getCaret(); c.moveDot(offs); c.setMagicCaretPosition(t.modelToView(offs).getLocation()); @@ -154,24 +154,24 @@ public class DefaultEditorKit extends EditorKit } } } - + static class SelectionEndWordAction extends TextAction { SelectionEndWordAction() { super(selectionEndWordAction); } - + public void actionPerformed(ActionEvent event) { try { JTextComponent t = getTextComponent(event); - + if (t != null) { int offs = Utilities.getWordEnd(t, t.getCaretPosition()); - + Caret c = t.getCaret(); c.moveDot(offs); c.setMagicCaretPosition(t.modelToView(offs).getLocation()); @@ -183,24 +183,24 @@ public class DefaultEditorKit extends EditorKit } } } - + static class BeginWordAction extends TextAction { BeginWordAction() { super(beginWordAction); } - + public void actionPerformed(ActionEvent event) { try { JTextComponent t = getTextComponent(event); - + if (t != null) { int offs = Utilities.getWordStart(t, t.getCaretPosition()); - + Caret c = t.getCaret(); c.setDot(offs); c.setMagicCaretPosition(t.modelToView(offs).getLocation()); @@ -212,24 +212,24 @@ public class DefaultEditorKit extends EditorKit } } } - + static class EndWordAction extends TextAction { EndWordAction() { super(endWordAction); } - + public void actionPerformed(ActionEvent event) { try { JTextComponent t = getTextComponent(event); - + if (t != null) { int offs = Utilities.getWordEnd(t, t.getCaretPosition()); - + Caret c = t.getCaret(); c.setDot(offs); c.setMagicCaretPosition(t.modelToView(offs).getLocation()); @@ -255,11 +255,11 @@ public class DefaultEditorKit extends EditorKit try { JTextComponent t = getTextComponent(event); - + if (t != null) { int offs = Utilities.getPreviousWord(t, t.getCaretPosition()); - + Caret c = t.getCaret(); c.setDot(offs); c.setMagicCaretPosition(t.modelToView(offs).getLocation()); @@ -285,11 +285,11 @@ public class DefaultEditorKit extends EditorKit try { JTextComponent t = getTextComponent(event); - + if (t != null) { int offs = Utilities.getNextWord(t, t.getCaretPosition()); - + Caret c = t.getCaret(); c.setDot(offs); c.setMagicCaretPosition(t.modelToView(offs).getLocation()); @@ -320,7 +320,7 @@ public class DefaultEditorKit extends EditorKit c.setDot(0); c.moveDot(offs); try - { + { c.setMagicCaretPosition(t.modelToView(offs).getLocation()); } catch(BadLocationException ble) @@ -347,7 +347,7 @@ public class DefaultEditorKit extends EditorKit Caret c = t.getCaret(); c.moveDot(0); try - { + { c.setMagicCaretPosition(t.modelToView(0).getLocation()); } catch(BadLocationException ble) @@ -375,7 +375,7 @@ public class DefaultEditorKit extends EditorKit Caret c = t.getCaret(); c.moveDot(offs); try - { + { c.setMagicCaretPosition(t.modelToView(offs).getLocation()); } catch(BadLocationException ble) @@ -385,11 +385,11 @@ public class DefaultEditorKit extends EditorKit } } } - + static class SelectionBeginLineAction extends TextAction { - + SelectionBeginLineAction() { super(selectionBeginLineAction); @@ -440,14 +440,14 @@ public class DefaultEditorKit extends EditorKit } } } - + static class SelectLineAction extends TextAction { SelectLineAction() { super(selectLineAction); } - + public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); @@ -469,14 +469,14 @@ public class DefaultEditorKit extends EditorKit } } } - + static class SelectWordAction extends TextAction { SelectWordAction() { super(selectWordAction); } - + public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); @@ -497,11 +497,11 @@ public class DefaultEditorKit extends EditorKit else { // Current cursor position is not on the first character - // in a word. + // in a word. int nextWord = Utilities.getNextWord(t, dot); int previousWord = Utilities.getPreviousWord(t, dot); int previousWordEnd = Utilities.getWordEnd(t, previousWord); - + // Cursor position is in the space between two words. In such a // situation just select the space. if (dot >= previousWordEnd && dot <= nextWord) @@ -542,7 +542,7 @@ public class DefaultEditorKit extends EditorKit { c.moveDot(offs); } - + } static class SelectionUpAction @@ -614,7 +614,7 @@ public class DefaultEditorKit extends EditorKit { c.setDot(offs); } - + } static class ForwardAction @@ -629,7 +629,7 @@ public class DefaultEditorKit extends EditorKit { c.setDot(offs); } - + } static class BackwardAction @@ -644,7 +644,7 @@ public class DefaultEditorKit extends EditorKit { c.setDot(offs); } - + } static class DeletePrevCharAction @@ -664,7 +664,7 @@ public class DefaultEditorKit extends EditorKit { int pos = t.getSelectionStart(); int len = t.getSelectionEnd() - pos; - + if (len > 0) t.getDocument().remove(pos, len); else if (pos > 0) @@ -701,12 +701,12 @@ public class DefaultEditorKit extends EditorKit { int pos = t.getSelectionStart(); int len = t.getSelectionEnd() - pos; - + if (len > 0) t.getDocument().remove(pos, len); else if (pos < t.getDocument().getLength()) t.getDocument().remove(pos, 1); - + Caret c = t.getCaret(); c.setDot(pos); c.setMagicCaretPosition(t.modelToView(pos).getLocation()); @@ -783,7 +783,7 @@ public class DefaultEditorKit extends EditorKit static class BeginAction extends TextAction { - + BeginAction() { super(beginAction); @@ -810,7 +810,7 @@ public class DefaultEditorKit extends EditorKit static class EndAction extends TextAction { - + EndAction() { super(endAction); @@ -825,7 +825,7 @@ public class DefaultEditorKit extends EditorKit Caret c = t.getCaret(); c.setDot(offs); try - { + { c.setMagicCaretPosition(t.modelToView(offs).getLocation()); } catch(BadLocationException ble) @@ -835,7 +835,7 @@ public class DefaultEditorKit extends EditorKit } } } - + /** * Creates a beep on the PC speaker. * @@ -962,12 +962,12 @@ public class DefaultEditorKit extends EditorKit * event is received and no keymap entry exists for that. The purpose * of this action is to filter out a couple of characters. This includes * the control characters and characters with the ALT-modifier. - * + * * If an event does not get filtered, it is inserted into the document * of the text component. If there is some text selected in the text * component, this text will be replaced. */ - public static class DefaultKeyTypedAction + public static class DefaultKeyTypedAction extends TextAction { @@ -1008,7 +1008,7 @@ public class DefaultEditorKit extends EditorKit } } } - } + } } /** @@ -1481,9 +1481,9 @@ public class DefaultEditorKit extends EditorKit * The Actions that are supported by the * DefaultEditorKit. */ - private static Action[] defaultActions = + private static Action[] defaultActions = new Action[] { - // These classes are public because they are so in the RI. + // These classes are public because they are so in the RI. new BeepAction(), new CopyAction(), new CutAction(), @@ -1492,29 +1492,29 @@ public class DefaultEditorKit extends EditorKit new InsertContentAction(), new InsertTabAction(), new PasteAction(), - + // These are (package-)private inner classes. new DeleteNextCharAction(), new DeletePrevCharAction(), new BeginLineAction(), new SelectionBeginLineAction(), - + new EndLineAction(), new SelectionEndLineAction(), - + new BackwardAction(), new SelectionBackwardAction(), new ForwardAction(), new SelectionForwardAction(), - + new UpAction(), new SelectionUpAction(), new DownAction(), new SelectionDownAction(), - + new NextWordAction(), new SelectionNextWordAction(), @@ -1523,16 +1523,16 @@ public class DefaultEditorKit extends EditorKit new BeginAction(), new SelectionBeginAction(), - + new EndAction(), new SelectionEndAction(), - + new BeginWordAction(), new SelectionBeginWordAction(), - + new EndWordAction(), new SelectionEndWordAction(), - + new SelectAllAction(), new SelectLineAction(), new SelectWordAction() @@ -1640,12 +1640,12 @@ public class DefaultEditorKit extends EditorKit while ((line = reader.readLine()) != null) { - content.append(line); - content.append("\n"); + content.append(line); + content.append("\n"); } - + document.insertString(offset, content.substring(0, content.length() - 1), - SimpleAttributeSet.EMPTY); + SimpleAttributeSet.EMPTY); } /** @@ -1680,7 +1680,7 @@ public class DefaultEditorKit extends EditorKit * @param offset the beginning offset from where to write * @param len the length of the fragment to write * - * @throws BadLocationException if offset is an + * @throws BadLocationException if offset is an * invalid location inside document. * @throws IOException if something goes wrong while writing to * out diff --git a/libjava/classpath/javax/swing/text/DefaultFormatter.java b/libjava/classpath/javax/swing/text/DefaultFormatter.java index bf7c02a..cd9829d 100644 --- a/libjava/classpath/javax/swing/text/DefaultFormatter.java +++ b/libjava/classpath/javax/swing/text/DefaultFormatter.java @@ -54,7 +54,7 @@ import javax.swing.JFormattedTextField; * a value, the value class must provide a single argument constructor that * takes a String object as argument value. If no such constructor is found, * the String itself is passed back by #stringToValue. - * + * * @author Roman Kennke (roman@kennke.org) */ public class DefaultFormatter extends JFormattedTextField.AbstractFormatter @@ -89,7 +89,7 @@ public class DefaultFormatter extends JFormattedTextField.AbstractFormatter checkValidInput(); commitIfAllowed(); } - + /** * Invoked when text is inserted into a text component. * @@ -115,7 +115,7 @@ public class DefaultFormatter extends JFormattedTextField.AbstractFormatter /** * Invoked when text is replaced in a text component. - * + * * @param bypass the FilterBypass to use to mutate the document * @param offset the start position of the modification * @param length the length of the removed text @@ -176,9 +176,9 @@ public class DefaultFormatter extends JFormattedTextField.AbstractFormatter { // if that happens, something serious must be wrong AssertionError ae; - ae = new AssertionError("values must be parseable"); - ae.initCause(pe); - throw ae; + ae = new AssertionError("values must be parseable"); + ae.initCause(pe); + throw ae; } } } @@ -238,7 +238,7 @@ public class DefaultFormatter extends JFormattedTextField.AbstractFormatter * one of the mentioned methods in order to customize behaviour. * * @param ftf the {@link JFormattedTextField} in which this formatter - * is installed + * is installed */ public void install(JFormattedTextField ftf) { @@ -287,7 +287,7 @@ public class DefaultFormatter extends JFormattedTextField.AbstractFormatter /** * Sets the value of the overwriteMode property. - * + * * If that is set to true then newly inserted characters * overwrite existing values, otherwise the characters are inserted like * normal. The default is true. diff --git a/libjava/classpath/javax/swing/text/DefaultFormatterFactory.java b/libjava/classpath/javax/swing/text/DefaultFormatterFactory.java index 84a1676..a6a9def 100644 --- a/libjava/classpath/javax/swing/text/DefaultFormatterFactory.java +++ b/libjava/classpath/javax/swing/text/DefaultFormatterFactory.java @@ -45,19 +45,19 @@ import javax.swing.JFormattedTextField.AbstractFormatter; import javax.swing.JFormattedTextField.AbstractFormatterFactory; /** - * This class is Swing's only concrete implementation of + * This class is Swing's only concrete implementation of * JFormattedTextField.AbstractFormatterFactory. It holds several - * formatters and determines the best one to be used based on the + * formatters and determines the best one to be used based on the * passed-in value from the text field. - * + * * @author Anthony Balkissoon abalkiss at redhat dot com * @since 1.4 */ public class DefaultFormatterFactory extends AbstractFormatterFactory implements Serializable { - /** - * The default formatter. + /** + * The default formatter. **/ AbstractFormatter defaultFormatter; @@ -69,14 +69,14 @@ public class DefaultFormatterFactory extends AbstractFormatterFactory implements AbstractFormatter editFormatter; /** - * The formatter to use when the JFormattedTextField doesn't havefocus and - * either the value isn't null or the value is null but no + * The formatter to use when the JFormattedTextField doesn't havefocus and + * either the value isn't null or the value is null but no * nullFormatter has been specified. */ AbstractFormatter displayFormatter; /** - * The formatter to use when the value of the JFormattedTextField is null. + * The formatter to use when the value of the JFormattedTextField is null. */ AbstractFormatter nullFormatter; @@ -102,7 +102,7 @@ public class DefaultFormatterFactory extends AbstractFormatterFactory implements * Creates a new DefaultFormatterFactory with the specified formatters. * @param defaultFormat the formatter to use if no other appropriate non-null * formatted can be found. - * @param displayFormat the formatter to use if the JFormattedTextField + * @param displayFormat the formatter to use if the JFormattedTextField * doesn't have focus and either the value is not null or the value is null * but no nullFormatter has been specified. */ @@ -117,7 +117,7 @@ public class DefaultFormatterFactory extends AbstractFormatterFactory implements * Creates a new DefaultFormatterFactory with the specified formatters. * @param defaultFormat the formatter to use if no other appropriate non-null * formatted can be found. - * @param displayFormat the formatter to use if the JFormattedTextField + * @param displayFormat the formatter to use if the JFormattedTextField * doesn't have focus and either the value is not null or the value is null * but no nullFormatter has been specified. * @param editFormat the formatter to use if the JFormattedTextField has @@ -137,13 +137,13 @@ public class DefaultFormatterFactory extends AbstractFormatterFactory implements * Creates a new DefaultFormatterFactory with the specified formatters. * @param defaultFormat the formatter to use if no other appropriate non-null * formatted can be found. - * @param displayFormat the formatter to use if the JFormattedTextField + * @param displayFormat the formatter to use if the JFormattedTextField * doesn't have focus and either the value is not null or the value is null * but no nullFormatter has been specified. * @param editFormat the formatter to use if the JFormattedTextField has * focus and either the value is not null or the value is null but not * nullFormatter has been specified. - * @param nullFormat the formatter to use when the value of the + * @param nullFormat the formatter to use when the value of the * JFormattedTextField is null. */ public DefaultFormatterFactory(AbstractFormatter defaultFormat, @@ -158,9 +158,9 @@ public class DefaultFormatterFactory extends AbstractFormatterFactory implements } /** - * Returns the formatted to be used if no other appropriate non-null + * Returns the formatted to be used if no other appropriate non-null * formatter can be found. - * @return the formatted to be used if no other appropriate non-null + * @return the formatted to be used if no other appropriate non-null * formatter can be found. */ public AbstractFormatter getDefaultFormatter() @@ -169,7 +169,7 @@ public class DefaultFormatterFactory extends AbstractFormatterFactory implements } /** - * Sets the formatted to be used if no other appropriate non-null formatter + * Sets the formatted to be used if no other appropriate non-null formatter * can be found. * @param defaultFormatter the formatted to be used if no other appropriate * non-null formatter can be found. @@ -180,13 +180,13 @@ public class DefaultFormatterFactory extends AbstractFormatterFactory implements } /** - * Gets the displayFormatter. This is the formatter to use if - * the JFormattedTextField is not being edited and either the value is not - * null or the value is null and no nullFormatter has been + * Gets the displayFormatter. This is the formatter to use if + * the JFormattedTextField is not being edited and either the value is not + * null or the value is null and no nullFormatter has been * specified. - * @return the formatter to use if - * the JFormattedTextField is not being edited and either the value is not - * null or the value is null and no nullFormatter has been + * @return the formatter to use if + * the JFormattedTextField is not being edited and either the value is not + * null or the value is null and no nullFormatter has been * specified. */ public AbstractFormatter getDisplayFormatter() @@ -195,9 +195,9 @@ public class DefaultFormatterFactory extends AbstractFormatterFactory implements } /** - * Sets the displayFormatter. This is the formatter to use if - * the JFormattedTextField is not being edited and either the value is not - * null or the value is null and no nullFormatter has been + * Sets the displayFormatter. This is the formatter to use if + * the JFormattedTextField is not being edited and either the value is not + * null or the value is null and no nullFormatter has been * specified. * @param displayFormatter the formatter to use. */ @@ -208,10 +208,10 @@ public class DefaultFormatterFactory extends AbstractFormatterFactory implements /** * Gets the editFormatter. This is the formatter to use if the - * JFormattedTextField is being edited and either the value is not null or + * JFormattedTextField is being edited and either the value is not null or * the value is null and no nullFormatter has been specified. * @return the formatter to use if the JFormattedTextField is being edited - * and the value is not null or the value is null but no nullFormatted has + * and the value is not null or the value is null but no nullFormatted has * been specified. */ public AbstractFormatter getEditFormatter() @@ -221,7 +221,7 @@ public class DefaultFormatterFactory extends AbstractFormatterFactory implements /** * Sets the editFormatter. This is the formatter to use if the - * JFormattedTextField is being edited and either the value is not null or + * JFormattedTextField is being edited and either the value is not null or * the value is null and no nullFormatter has been specified. * @param editFormatter the formatter to use. */ @@ -250,11 +250,11 @@ public class DefaultFormatterFactory extends AbstractFormatterFactory implements } /** - * Returns the appropriate formatter based on the state of + * Returns the appropriate formatter based on the state of * tf. If tf is null we return null, otherwise * we return one of the following: - * 1. Returns nullFormatter if tf.getValue() is - * null and nullFormatter is not. + * 1. Returns nullFormatter if tf.getValue() is + * null and nullFormatter is not. * 2. Returns editFormatter if tf.hasFocus() is * true and editFormatter is not null. * 3. Returns displayFormatter if tf.hasFocus() is @@ -265,7 +265,7 @@ public class DefaultFormatterFactory extends AbstractFormatterFactory implements { if (tf == null) return null; - + if (tf.getValue() == null && nullFormatter != null) return nullFormatter; diff --git a/libjava/classpath/javax/swing/text/DefaultHighlighter.java b/libjava/classpath/javax/swing/text/DefaultHighlighter.java index 69563e4..a4264d3 100644 --- a/libjava/classpath/javax/swing/text/DefaultHighlighter.java +++ b/libjava/classpath/javax/swing/text/DefaultHighlighter.java @@ -51,7 +51,7 @@ import javax.swing.plaf.TextUI; /** * The default highlight for Swing text components. It highlights text - * by filling the background with a rectangle. + * by filling the background with a rectangle. */ public class DefaultHighlighter extends LayeredHighlighter { @@ -59,7 +59,7 @@ public class DefaultHighlighter extends LayeredHighlighter extends LayerPainter { private Color color; - + public DefaultHighlightPainter(Color c) { super(); @@ -72,11 +72,11 @@ public class DefaultHighlighter extends LayeredHighlighter } public void paint(Graphics g, int p0, int p1, Shape bounds, - JTextComponent t) + JTextComponent t) { if (p0 == p1) return; - + Rectangle rect = bounds.getBounds(); Color col = getColor(); @@ -85,13 +85,13 @@ public class DefaultHighlighter extends LayeredHighlighter g.setColor(col); TextUI ui = t.getUI(); - + try { Rectangle l0 = ui.modelToView(t, p0, null); Rectangle l1 = ui.modelToView(t, p1, null); - + // Note: The computed locations may lie outside of the allocation // area if the text is scrolled. @@ -101,8 +101,8 @@ public class DefaultHighlighter extends LayeredHighlighter // Paint only inside the allocation area. SwingUtilities.computeIntersection(rect.x, rect.y, rect.width, - rect.height, l1); - + rect.height, l1); + g.fillRect(l1.x, l1.y, l1.width, l1.height); } else @@ -115,62 +115,62 @@ public class DefaultHighlighter extends LayeredHighlighter // 3. The final line is painted from the left border to the // position of p1. - int firstLineWidth = rect.x + rect.width - l0.x; - g.fillRect(l0.x, l0.y, firstLineWidth, l0.height); - if (l0.y + l0.height != l1.y) - { - g.fillRect(rect.x, l0.y + l0.height, rect.width, - l1.y - l0.y - l0.height); - } - g.fillRect(rect.x, l1.y, l1.x - rect.x, l1.height); - } + int firstLineWidth = rect.x + rect.width - l0.x; + g.fillRect(l0.x, l0.y, firstLineWidth, l0.height); + if (l0.y + l0.height != l1.y) + { + g.fillRect(rect.x, l0.y + l0.height, rect.width, + l1.y - l0.y - l0.height); + } + g.fillRect(rect.x, l1.y, l1.x - rect.x, l1.height); + } } catch (BadLocationException ex) { - // Can't render. Comment out for debugging. - // ex.printStackTrace(); + // Can't render. Comment out for debugging. + // ex.printStackTrace(); } } public Shape paintLayer(Graphics g, int p0, int p1, Shape bounds, - JTextComponent c, View view) + JTextComponent c, View view) { Color col = getColor(); if (col == null) - col = c.getSelectionColor(); + col = c.getSelectionColor(); g.setColor(col); Rectangle rect = null; if (p0 == view.getStartOffset() && p1 == view.getEndOffset()) - { - // Paint complete bounds region. + { + // Paint complete bounds region. rect = bounds instanceof Rectangle ? (Rectangle) bounds - : bounds.getBounds(); - } + : bounds.getBounds(); + } else - { - // Only partly inside the view. + { + // Only partly inside the view. try - { + { Shape s = view.modelToView(p0, Position.Bias.Forward, - p1, Position.Bias.Backward, - bounds); - rect = s instanceof Rectangle ? (Rectangle) s : s.getBounds(); - } - catch (BadLocationException ex) - { - // Can't render the highlight. - } - } + p1, Position.Bias.Backward, + bounds); + rect = s instanceof Rectangle ? (Rectangle) s : s.getBounds(); + } + catch (BadLocationException ex) + { + // Can't render the highlight. + } + } if (rect != null) - { + { g.fillRect(rect.x, rect.y, rect.width, rect.height); - } + } return rect; } } - + private class HighlightEntry implements Highlighter.Highlight { Position p0; @@ -228,28 +228,28 @@ public class DefaultHighlighter extends LayeredHighlighter * and manages the paint rectangle. */ void paintLayeredHighlight(Graphics g, int p0, int p1, Shape bounds, - JTextComponent tc, View view) + JTextComponent tc, View view) { p0 = Math.max(getStartOffset(), p0); p1 = Math.min(getEndOffset(), p1); Highlighter.HighlightPainter painter = getPainter(); if (painter instanceof LayerPainter) - { - LayerPainter layerPainter = (LayerPainter) painter; - Shape area = layerPainter.paintLayer(g, p0, p1, bounds, tc, view); - Rectangle rect; - if (area instanceof Rectangle && paintRect != null) - rect = (Rectangle) area; - else - rect = area.getBounds(); - - if (paintRect.width == 0 || paintRect.height == 0) - paintRect = rect.getBounds(); - else - paintRect = SwingUtilities.computeUnion(rect.x, rect.y, rect.width, - rect.height, paintRect); - } + { + LayerPainter layerPainter = (LayerPainter) painter; + Shape area = layerPainter.paintLayer(g, p0, p1, bounds, tc, view); + Rectangle rect; + if (area instanceof Rectangle && paintRect != null) + rect = (Rectangle) area; + else + rect = area.getBounds(); + + if (paintRect.width == 0 || paintRect.height == 0) + paintRect = rect.getBounds(); + else + paintRect = SwingUtilities.computeUnion(rect.x, rect.y, rect.width, + rect.height, paintRect); + } } } @@ -258,11 +258,11 @@ public class DefaultHighlighter extends LayeredHighlighter */ public static final LayeredHighlighter.LayerPainter DefaultPainter = new DefaultHighlightPainter(null); - + private JTextComponent textComponent; private ArrayList highlights = new ArrayList(); private boolean drawsLayeredHighlights = true; - + public DefaultHighlighter() { // Nothing to do here. @@ -277,13 +277,13 @@ public class DefaultHighlighter extends LayeredHighlighter { drawsLayeredHighlights = newValue; } - + private void checkPositions(int p0, int p1) throws BadLocationException { if (p0 < 0) throw new BadLocationException("DefaultHighlighter", p0); - + if (p1 < p0) throw new BadLocationException("DefaultHighlighter", p1); } @@ -313,9 +313,9 @@ public class DefaultHighlighter extends LayeredHighlighter else entry = new HighlightEntry(pos0, pos1, painter); highlights.add(entry); - + textComponent.getUI().damageRange(textComponent, p0, p1); - + return entry; } @@ -324,16 +324,16 @@ public class DefaultHighlighter extends LayeredHighlighter HighlightEntry entry = (HighlightEntry) tag; if (entry instanceof LayerHighlightEntry) { - LayerHighlightEntry lEntry = (LayerHighlightEntry) entry; - Rectangle paintRect = lEntry.paintRect; - textComponent.repaint(paintRect.x, paintRect.y, paintRect.width, - paintRect.height); + LayerHighlightEntry lEntry = (LayerHighlightEntry) entry; + Rectangle paintRect = lEntry.paintRect; + textComponent.repaint(paintRect.x, paintRect.y, paintRect.width, + paintRect.height); } else { - textComponent.getUI().damageRange(textComponent, - entry.getStartOffset(), - entry.getEndOffset()); + textComponent.getUI().damageRange(textComponent, + entry.getStartOffset(), + entry.getEndOffset()); } highlights.remove(tag); @@ -380,14 +380,14 @@ public class DefaultHighlighter extends LayeredHighlighter TextUI ui = textComponent.getUI(); ui.damageRange(textComponent, p0, p1); } - + } highlights.clear(); } public Highlighter.Highlight[] getHighlights() { - return (Highlighter.Highlight[]) + return (Highlighter.Highlight[]) highlights.toArray(new Highlighter.Highlight[highlights.size()]); } @@ -439,22 +439,22 @@ public class DefaultHighlighter extends LayeredHighlighter { for (Iterator i = highlights.iterator(); i.hasNext();) { - Object o = i.next(); - if (o instanceof LayerHighlightEntry) - { - LayerHighlightEntry entry = (LayerHighlightEntry) o; - int start = entry.getStartOffset(); - int end = entry.getEndOffset(); - if ((p0 < start && p1 > start) || (p0 >= start && p0 < end)) - entry.paintLayeredHighlight(g, p0, p1, viewBounds, editor, view); - } + Object o = i.next(); + if (o instanceof LayerHighlightEntry) + { + LayerHighlightEntry entry = (LayerHighlightEntry) o; + int start = entry.getStartOffset(); + int end = entry.getEndOffset(); + if ((p0 < start && p1 > start) || (p0 >= start && p0 < end)) + entry.paintLayeredHighlight(g, p0, p1, viewBounds, editor, view); + } } } public void paint(Graphics g) { int size = highlights.size(); - + // Check if there are any highlights. if (size == 0) return; @@ -466,11 +466,11 @@ public class DefaultHighlighter extends LayeredHighlighter insets.top, textComponent.getWidth() - insets.left - insets.right, textComponent.getHeight() - insets.top - insets.bottom); - + for (int index = 0; index < size; ++index) { - HighlightEntry entry = (HighlightEntry) highlights.get(index); - if (! (entry instanceof LayerHighlightEntry)) + HighlightEntry entry = (HighlightEntry) highlights.get(index); + if (! (entry instanceof LayerHighlightEntry)) entry.painter.paint(g, entry.getStartOffset(), entry.getEndOffset(), bounds, textComponent); } diff --git a/libjava/classpath/javax/swing/text/DefaultStyledDocument.java b/libjava/classpath/javax/swing/text/DefaultStyledDocument.java index 8c70a8a..9021a19 100644 --- a/libjava/classpath/javax/swing/text/DefaultStyledDocument.java +++ b/libjava/classpath/javax/swing/text/DefaultStyledDocument.java @@ -62,7 +62,7 @@ import javax.swing.undo.UndoableEdit; * single root, which has one or more {@link AbstractDocument.BranchElement}s * as paragraph nodes and each paragraph node having one or more * {@link AbstractDocument.LeafElement}s as content nodes. - * + * * @author Michael Koch (konqueror@gmx.de) * @author Roman Kennke (roman@kennke.org) */ @@ -72,7 +72,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * An {@link UndoableEdit} that can undo attribute changes to an element. - * + * * @author Roman Kennke (kennke@aicas.com) */ public static class AttributeUndoableEdit extends AbstractUndoableEdit @@ -100,7 +100,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Creates a new AttributeUndoableEdit. - * + * * @param el * the element that changes attributes * @param newAtts @@ -233,7 +233,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Creates a new ElementSpec with no content, length or * offset. This is most useful for start and end tags. - * + * * @param a * the attributes for the element to be created * @param type @@ -248,7 +248,7 @@ public class DefaultStyledDocument extends AbstractDocument implements * Creates a new ElementSpec that specifies the length but * not the offset of an element. Such ElementSpecs are * processed sequentially from a known starting point. - * + * * @param a * the attributes for the element to be created * @param type @@ -263,7 +263,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Creates a new ElementSpec with document content. - * + * * @param a * the attributes for the element to be created * @param type @@ -287,7 +287,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Sets the type of the element. - * + * * @param type * the type of the element to be set */ @@ -298,7 +298,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Returns the type of the element. - * + * * @return the type of the element */ public short getType() @@ -308,7 +308,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Sets the direction of the element. - * + * * @param dir * the direction of the element to be set */ @@ -319,7 +319,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Returns the direction of the element. - * + * * @return the direction of the element */ public short getDirection() @@ -329,7 +329,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Returns the attributes of the element. - * + * * @return the attributes of the element */ public AttributeSet getAttributes() @@ -339,7 +339,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Returns the actual content of the element. - * + * * @return the actual content of the element */ public char[] getArray() @@ -349,7 +349,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Returns the offset of the content. - * + * * @return the offset of the content */ public int getOffset() @@ -359,7 +359,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Returns the length of the content. - * + * * @return the length of the content */ public int getLength() @@ -371,7 +371,7 @@ public class DefaultStyledDocument extends AbstractDocument implements * Returns a String representation of this ElementSpec * describing the type, direction and length of this * ElementSpec. - * + * * @return a String representation of this ElementSpec */ public String toString() @@ -534,7 +534,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Creates a new ElementBuffer for the specified * root element. - * + * * @param root * the root element for this ElementBuffer */ @@ -545,7 +545,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Returns the root element of this ElementBuffer. - * + * * @return the root element of this ElementBuffer */ public Element getRootElement() @@ -556,7 +556,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Removes the content. This method sets some internal parameters and * delegates the work to {@link #removeUpdate}. - * + * * @param offs * the offset from which content is remove * @param len @@ -583,7 +583,7 @@ public class DefaultStyledDocument extends AbstractDocument implements private boolean removeElements(Element elem, int rmOffs0, int rmOffs1) { - boolean ret = false; + boolean ret = false; if (! elem.isLeaf()) { // Update stack for changes. @@ -874,7 +874,7 @@ public class DefaultStyledDocument extends AbstractDocument implements * created as necessary. This also updates the * DefaultDocumentEvent to reflect the structural changes. * The bulk work is delegated to {@link #changeUpdate()}. - * + * * @param offset * the start index of the interval to be changed * @param length @@ -967,7 +967,7 @@ public class DefaultStyledDocument extends AbstractDocument implements * Inserts new Element in the document at the specified * position. Most of the work is done by {@link #insertUpdate}, after some * fields have been prepared for it. - * + * * @param offset * the location in the document at which the content is inserted * @param length @@ -982,11 +982,11 @@ public class DefaultStyledDocument extends AbstractDocument implements DefaultDocumentEvent ev) { if (length > 0) - { - prepareEdit(offset, length); - insertUpdate(data); - finishEdit(ev); - } + { + prepareEdit(offset, length); + insertUpdate(data); + finishEdit(ev); + } } /** @@ -1003,14 +1003,14 @@ public class DefaultStyledDocument extends AbstractDocument implements this.length = length; if (edits == null) - edits = new ArrayList(); + edits = new ArrayList(); else - edits.clear(); + edits.clear(); if (elementStack == null) - elementStack = new Stack(); + elementStack = new Stack(); else - elementStack.clear(); + elementStack.clear(); fracturedParent = null; fracturedChild = null; @@ -1029,7 +1029,7 @@ public class DefaultStyledDocument extends AbstractDocument implements // This for loop applies all the changes that were made and updates the // DocumentEvent. for (Iterator i = edits.iterator(); i.hasNext();) - { + { Edit edits = (Edit) i.next(); Element[] removed = new Element[edits.removed.size()]; removed = (Element[]) edits.removed.toArray(removed); @@ -1040,14 +1040,14 @@ public class DefaultStyledDocument extends AbstractDocument implements parent.replace(index, removed.length, added); ElementEdit ee = new ElementEdit(parent, index, removed, added); ev.addEdit(ee); - } + } edits.clear(); elementStack.clear(); } /** * Inserts new content. - * + * * @param data the element specifications for the elements to be inserted */ protected void insertUpdate(ElementSpec[] data) @@ -1130,7 +1130,7 @@ public class DefaultStyledDocument extends AbstractDocument implements p < data.length && data[p].getType() == ElementSpec.EndTagType; p++) ; - + Edit edit = insertPath[insertPath.length - p - 1]; edit.index--; edit.removed.add(0, edit.e.getElement(edit.index)); @@ -1162,7 +1162,7 @@ public class DefaultStyledDocument extends AbstractDocument implements { if (elementStack.isEmpty()) return; - + Edit edit = (Edit) elementStack.peek(); switch (spec.getType()) { @@ -1223,7 +1223,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Inserts the first tag into the document. - * + * * @param data - * the data to be inserted. */ @@ -1301,7 +1301,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Inserts a content element into the document structure. - * + * * @param tag - * the element spec */ @@ -1342,7 +1342,7 @@ public class DefaultStyledDocument extends AbstractDocument implements edit.removed.add(first); } } - else + else { Element leaf = createLeafElement(edit.e, tag.getAttributes(), pos, pos + len); @@ -1350,13 +1350,13 @@ public class DefaultStyledDocument extends AbstractDocument implements } pos += len; - + } /** * This method fractures bottomost leaf in the elementStack. This * happens when the first inserted tag is not content. - * + * * @param data * the ElementSpecs used for the entire insertion */ @@ -1644,12 +1644,12 @@ public class DefaultStyledDocument extends AbstractDocument implements ec.added.add(e); e = createLeafElement(ec.e, child.getAttributes(), pos, child.getEndOffset()); - + ec.added.add(e); } } return splitEnd; - + } } @@ -1672,7 +1672,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Returns the name of the element. This method always returns * "section". - * + * * @return the name of the element */ public String getName() @@ -1684,7 +1684,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Receives notification when any of the document's style changes and calls * {@link DefaultStyledDocument#styleChanged(Style)}. - * + * * @author Roman Kennke (kennke@aicas.com) */ private class StyleChangeListener implements ChangeListener @@ -1693,7 +1693,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Receives notification when any of the document's style changes and calls * {@link DefaultStyledDocument#styleChanged(Style)}. - * + * * @param event * the change event */ @@ -1734,7 +1734,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Creates a new DefaultStyledDocument that uses the specified * {@link StyleContext}. - * + * * @param context * the StyleContext to use */ @@ -1746,7 +1746,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Creates a new DefaultStyledDocument that uses the specified * {@link StyleContext} and {@link Content} buffer. - * + * * @param content * the Content buffer to use * @param context @@ -1790,7 +1790,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Create the default root element for this kind of Document. - * + * * @return the default root element for this kind of Document */ protected AbstractDocument.AbstractElement createDefaultRoot() @@ -1814,7 +1814,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Returns the Element that corresponds to the character at the * specified position. - * + * * @param position * the position of which we query the corresponding * Element @@ -1836,7 +1836,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Extracts a background color from a set of attributes. - * + * * @param attributes * the attributes from which to get a background color * @return the background color that correspond to the attributes @@ -1849,7 +1849,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Returns the default root element. - * + * * @return the default root element */ public Element getDefaultRootElement() @@ -1859,7 +1859,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Extracts a font from a set of attributes. - * + * * @param attributes * the attributes from which to get a font * @return the font that correspond to the attributes @@ -1872,7 +1872,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Extracts a foreground color from a set of attributes. - * + * * @param attributes * the attributes from which to get a foreground color * @return the foreground color that correspond to the attributes @@ -1885,7 +1885,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Returns the logical Style for the specified position. - * + * * @param position * the position from which to query to logical style * @return the logical Style for the specified position @@ -1907,7 +1907,7 @@ public class DefaultStyledDocument extends AbstractDocument implements * element is returned. That is the last paragraph if * position >= endIndex or the first paragraph if * position < startIndex. - * + * * @param position * the position for which to query the paragraph element * @return the paragraph element for the specified position @@ -1925,7 +1925,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Looks up and returns a named Style. - * + * * @param nm * the name of the Style * @return the found Style of null if no such @@ -1939,7 +1939,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Removes a named Style from the style hierarchy. - * + * * @param nm * the name of the Style to be removed */ @@ -1952,7 +1952,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Sets text attributes for the fragment specified by offset * and length. - * + * * @param offset * the start offset of the fragment * @param length @@ -2015,7 +2015,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Sets the logical style for the paragraph at the specified position. - * + * * @param position * the position at which the logical style is added * @param style @@ -2056,7 +2056,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Sets text attributes for the paragraph at the specified fragment. - * + * * @param offset * the beginning of the fragment * @param length @@ -2115,7 +2115,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Called in response to content insert actions. This is used to update the * element structure. - * + * * @param ev * the DocumentEvent describing the change * @param attr @@ -2310,7 +2310,7 @@ public class DefaultStyledDocument extends AbstractDocument implements } if (e != null) - + { // e is now the common parent. // Insert the end tags. @@ -2342,7 +2342,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * A helper method to set up the ElementSpec buffer for the special case of an * insertion occurring immediately after a newline. - * + * * @param specs * the ElementSpec buffer to initialize. */ @@ -2369,7 +2369,7 @@ public class DefaultStyledDocument extends AbstractDocument implements * forwarded to the {@link ElementBuffer} of this document. Any changes to the * document structure are added to the specified document event and sent to * registered listeners. - * + * * @param ev * the document event that records the changes to the document */ @@ -2381,7 +2381,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Returns an enumeration of all style names. - * + * * @return an enumeration of all style names */ public Enumeration getStyleNames() @@ -2392,7 +2392,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Called when any of this document's styles changes. - * + * * @param style * the style that changed */ @@ -2403,7 +2403,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Inserts a bulk of structured content at once. - * + * * @param offset * the offset at which the content should be inserted * @param data @@ -2469,7 +2469,7 @@ public class DefaultStyledDocument extends AbstractDocument implements /** * Initializes the DefaultStyledDocument with the specified * data. - * + * * @param data * the specification of the content with which the document is * initialized diff --git a/libjava/classpath/javax/swing/text/DocumentFilter.java b/libjava/classpath/javax/swing/text/DocumentFilter.java index f86f41c..1f7e8a6 100644 --- a/libjava/classpath/javax/swing/text/DocumentFilter.java +++ b/libjava/classpath/javax/swing/text/DocumentFilter.java @@ -48,21 +48,21 @@ public class DocumentFilter } public abstract Document getDocument(); - + public abstract void insertString(int offset, String string, - AttributeSet attr) + AttributeSet attr) throws BadLocationException; - + public abstract void remove(int offset, int length) throws BadLocationException; - + public abstract void replace(int offset, int length, String string, - AttributeSet attrs) + AttributeSet attrs) throws BadLocationException; } - + public void insertString(DocumentFilter.FilterBypass fb, int offset, - String string, AttributeSet attr) + String string, AttributeSet attr) throws BadLocationException { fb.insertString(offset, string, attr); @@ -75,7 +75,7 @@ public class DocumentFilter } public void replace(DocumentFilter.FilterBypass fb, int offset, int length, - String text, AttributeSet attr) + String text, AttributeSet attr) throws BadLocationException { fb.replace(offset, length, text, attr); diff --git a/libjava/classpath/javax/swing/text/EditorKit.java b/libjava/classpath/javax/swing/text/EditorKit.java index 8719aee..62b4a64 100644 --- a/libjava/classpath/javax/swing/text/EditorKit.java +++ b/libjava/classpath/javax/swing/text/EditorKit.java @@ -51,7 +51,7 @@ import javax.swing.JEditorPane; public abstract class EditorKit implements Cloneable, Serializable { private static final long serialVersionUID = -5044124649345887822L; - + public EditorKit() { // Nothing to do here. diff --git a/libjava/classpath/javax/swing/text/Element.java b/libjava/classpath/javax/swing/text/Element.java index eb53ee9..83d8835 100644 --- a/libjava/classpath/javax/swing/text/Element.java +++ b/libjava/classpath/javax/swing/text/Element.java @@ -1,4 +1,4 @@ -/* Element.java -- +/* Element.java -- Copyright (C) 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. diff --git a/libjava/classpath/javax/swing/text/ElementIterator.java b/libjava/classpath/javax/swing/text/ElementIterator.java index 112d55e..141137e2 100644 --- a/libjava/classpath/javax/swing/text/ElementIterator.java +++ b/libjava/classpath/javax/swing/text/ElementIterator.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -49,7 +49,7 @@ import java.util.Stack; public class ElementIterator implements Cloneable { /** - * Uses to track the iteration on the stack. + * Uses to track the iteration on the stack. */ private class ElementRef { @@ -110,12 +110,12 @@ public class ElementIterator implements Cloneable { try { - return super.clone(); + return super.clone(); } catch (CloneNotSupportedException _) { - // Can't happen. - return null; + // Can't happen. + return null; } } diff --git a/libjava/classpath/javax/swing/text/EmptyAttributeSet.java b/libjava/classpath/javax/swing/text/EmptyAttributeSet.java index 98fb882..92263bc 100644 --- a/libjava/classpath/javax/swing/text/EmptyAttributeSet.java +++ b/libjava/classpath/javax/swing/text/EmptyAttributeSet.java @@ -108,7 +108,7 @@ final class EmptyAttributeSet { throw new NoSuchElementException("No more elements"); } - + }; } diff --git a/libjava/classpath/javax/swing/text/FieldView.java b/libjava/classpath/javax/swing/text/FieldView.java index e357a1e..c47bef9 100644 --- a/libjava/classpath/javax/swing/text/FieldView.java +++ b/libjava/classpath/javax/swing/text/FieldView.java @@ -1,4 +1,4 @@ -/* FieldView.java -- +/* FieldView.java -- Copyright (C) 2004, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -56,36 +56,36 @@ import javax.swing.event.DocumentEvent; public class FieldView extends PlainView { BoundedRangeModel horizontalVisibility; - + /** Caches the preferred span of the X axis. It is invalidated by * setting it to -1f. This is done when text in the document * is inserted, removed or changed. The value is corrected as - * soon as calculateHorizontalSpan() is called. + * soon as calculateHorizontalSpan() is called. */ float cachedSpan = -1f; public FieldView(Element elem) { super(elem); - + } - + /** Checks whether the given container is a JTextField. If so * it retrieves the textfield's horizontalVisibility instance. - * + * *

    This method should be only called when the view's container * is valid. Naturally that would be the setParent() method however * that method is not overridden in the RI and that is why we chose * paint() instead.

    - */ + */ private void checkContainer() { Container c = getContainer(); - + if (c instanceof JTextField) { horizontalVisibility = ((JTextField) c).getHorizontalVisibility(); - + // Provokes a repaint when the BoundedRangeModel's values change // (which is what the RI does). horizontalVisibility.addChangeListener(new ChangeListener(){ @@ -98,25 +98,25 @@ public class FieldView extends PlainView // and needs to be recalculated (e.g. a different font setting is // not taken into account). calculateHorizontalSpan(); - + // Initializes the BoundedRangeModel properly. updateVisibility(); } - + } - + private void updateVisibility() { JTextField tf = (JTextField) getContainer(); Insets insets = tf.getInsets(); int width = tf.getWidth() - insets.left - insets.right; - + horizontalVisibility.setMaximum(Math.max((int) ((cachedSpan != -1f) ? cachedSpan : calculateHorizontalSpan()), width)); - + horizontalVisibility.setExtent(width - 1); } @@ -140,7 +140,7 @@ public class FieldView extends PlainView // Return null when the original allocation is null (like the RI). if (shape == null) return null; - + Rectangle rectIn = shape.getBounds(); // vertical adjustment int height = (int) getPreferredSpan(Y_AXIS); @@ -177,7 +177,7 @@ public class FieldView extends PlainView x = rectIn.x; break; } - + return new Rectangle(x, y, width, height); } @@ -192,13 +192,13 @@ public class FieldView extends PlainView if (cachedSpan != -1f) return cachedSpan; - + return calculateHorizontalSpan(); } - + /** Calculates and sets the horizontal span and stores the value * in cachedSpan. - */ + */ private float calculateHorizontalSpan() { Segment s = getLineBuffer(); @@ -209,15 +209,15 @@ public class FieldView extends PlainView elem.getDocument().getText(elem.getStartOffset(), elem.getEndOffset() - 1, s); - + return cachedSpan = Utilities.getTabbedTextWidth(s, getFontMetrics(), 0, this, s.offset); } catch (BadLocationException e) { - // Should never happen - AssertionError ae = new AssertionError(); - ae.initCause(e); - throw ae; + // Should never happen + AssertionError ae = new AssertionError(); + ae.initCause(e); + throw ae; } } @@ -225,21 +225,21 @@ public class FieldView extends PlainView { return axis == X_AXIS ? 1 : 0; } - + public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { Shape newAlloc = adjustAllocation(a); return super.modelToView(pos, newAlloc, bias); } - + public void paint(Graphics g, Shape s) { if (horizontalVisibility == null) checkContainer(); Shape newAlloc = adjustAllocation(s); - + Shape clip = g.getClip(); if (clip != null) { @@ -262,18 +262,18 @@ public class FieldView extends PlainView super.paint(g, newAlloc); g.setClip(clip); - + } public void insertUpdate(DocumentEvent ev, Shape shape, ViewFactory vf) { cachedSpan = -1f; - + if (horizontalVisibility != null) updateVisibility(); - + Shape newAlloc = adjustAllocation(shape); - + super.insertUpdate(ev, newAlloc, vf); getContainer().repaint(); } @@ -281,7 +281,7 @@ public class FieldView extends PlainView public void removeUpdate(DocumentEvent ev, Shape shape, ViewFactory vf) { cachedSpan = -1f; - + if (horizontalVisibility != null) updateVisibility(); @@ -293,7 +293,7 @@ public class FieldView extends PlainView public void changedUpdate(DocumentEvent ev, Shape shape, ViewFactory vf) { cachedSpan = -1f; - + if (horizontalVisibility != null) updateVisibility(); @@ -306,5 +306,5 @@ public class FieldView extends PlainView { return super.viewToModel(fx, fy, adjustAllocation(a), bias); } - + } diff --git a/libjava/classpath/javax/swing/text/FlowView.java b/libjava/classpath/javax/swing/text/FlowView.java index c2bed39..a9a8083 100644 --- a/libjava/classpath/javax/swing/text/FlowView.java +++ b/libjava/classpath/javax/swing/text/FlowView.java @@ -216,7 +216,7 @@ public abstract class FlowView extends BoxView * the logical view. If the available space is exhausted, * {@link #adjustRow(FlowView, int, int, int)} is called to fit the row into * the available span. - * + * * @param fv the flow view for which we perform the layout * @param rowIndex the index of the row * @param pos the model position for the beginning of the row @@ -616,7 +616,7 @@ public abstract class FlowView extends BoxView { int axis = getAxis(); int flowAxis; - + if (axis == X_AXIS) flowAxis = Y_AXIS; else @@ -697,7 +697,7 @@ public abstract class FlowView extends BoxView protected void layout(int width, int height) { int flowAxis = getFlowAxis(); - int span; + int span; if (flowAxis == X_AXIS) span = (int) width; else diff --git a/libjava/classpath/javax/swing/text/GapContent.java b/libjava/classpath/javax/swing/text/GapContent.java index 08a318d..2e68fb5 100644 --- a/libjava/classpath/javax/swing/text/GapContent.java +++ b/libjava/classpath/javax/swing/text/GapContent.java @@ -64,7 +64,7 @@ import javax.swing.undo.UndoableEdit; public class GapContent implements AbstractDocument.Content, Serializable { - + /** * A {@link Position} implementation for GapContent. */ @@ -80,7 +80,7 @@ public class GapContent /** * Returns the current offset of this Position within the content. - * + * * @return the current offset of this Position within the content. */ public int getOffset() @@ -94,7 +94,7 @@ public class GapContent * the actual offset of the position. This is pulled out of the * GapContentPosition object so that the mark and position can be handled * independently, and most important, so that the GapContentPosition can - * be garbage collected while we still hold a reference to the Mark object. + * be garbage collected while we still hold a reference to the Mark object. */ private class Mark extends WeakReference @@ -149,7 +149,7 @@ public class GapContent /** * Stores a reference to a mark that can be resetted to the original value - * after a mark has been moved. This is used for undoing actions. + * after a mark has been moved. This is used for undoing actions. */ private class UndoPosRef { @@ -213,7 +213,7 @@ public class GapContent throw new CannotUndoException(); } } - + public void redo () throws CannotUndoException { super.redo(); @@ -231,9 +231,9 @@ public class GapContent throw new CannotRedoException(); } } - + } - + private class UndoRemove extends AbstractUndoableEdit { public int where; @@ -265,7 +265,7 @@ public class GapContent throw new CannotUndoException(); } } - + public void redo () throws CannotUndoException { super.redo(); @@ -280,7 +280,7 @@ public class GapContent throw new CannotRedoException(); } } - + } /** The serialization UID (compatible with JDK1.5). */ @@ -348,7 +348,7 @@ public class GapContent /** * Creates a new GapContent object with a specified initial size. - * + * * @param size the initial size of the buffer */ public GapContent(int size) @@ -365,9 +365,9 @@ public class GapContent /** * Allocates an array of the specified length that can then be used as * buffer. - * + * * @param size the size of the array to be allocated - * + * * @return the allocated array */ protected Object allocateArray(int size) @@ -377,7 +377,7 @@ public class GapContent /** * Returns the length of the allocated buffer array. - * + * * @return the length of the allocated buffer array */ protected int getArrayLength() @@ -387,7 +387,7 @@ public class GapContent /** * Returns the length of the content. - * + * * @return the length of the content */ public int length() @@ -397,12 +397,12 @@ public class GapContent /** * Inserts a string at the specified position. - * + * * @param where the position where the string is inserted * @param str the string that is to be inserted - * + * * @return an UndoableEdit object - * + * * @throws BadLocationException if where is not a valid * location in the buffer */ @@ -429,12 +429,12 @@ public class GapContent /** * Removes a piece of content at th specified position. - * + * * @param where the position where the content is to be removed * @param nitems number of characters to be removed - * + * * @return an UndoableEdit object - * + * * @throws BadLocationException if where is not a valid * location in the buffer */ @@ -442,11 +442,11 @@ public class GapContent { // check arguments int length = length(); - + if ((where + nitems) >= length) throw new BadLocationException("where + nitems cannot be greater" + " than the content length", where + nitems); - + String removedText = getString(where, nitems); UndoRemove undoRemove = new UndoRemove(where, removedText); replace(where, nitems, null, 0); @@ -456,10 +456,10 @@ public class GapContent /** * Returns a piece of content as String. - * + * * @param where the start location of the fragment * @param len the length of the fragment - * + * * @throws BadLocationException if where or * where + len are no valid locations in the buffer */ @@ -487,15 +487,15 @@ public class GapContent /** * Fetches a piece of content and stores it in a {@link Segment} object. - * + * * If the requested piece of text spans the gap, the content is copied into a * new array. If it doesn't then it is contiguous and the actual content * store is returned. - * + * * @param where the start location of the fragment * @param len the length of the fragment * @param txt the Segment object to store the fragment in - * + * * @throws BadLocationException if where or * where + len are no valid locations in the buffer */ @@ -515,7 +515,7 @@ public class GapContent if (len < 0) throw new BadLocationException("negative length not allowed: ", len); - // Optimized to copy only when really needed. + // Optimized to copy only when really needed. if (where + len <= gapStart) { // Simple case: completely before gap. @@ -556,11 +556,11 @@ public class GapContent /** * Creates and returns a mark at the specified position. - * + * * @param offset the position at which to create the mark - * + * * @return the create Position object for the mark - * + * * @throws BadLocationException if the offset is not a valid position in the * buffer */ @@ -597,7 +597,7 @@ public class GapContent marks.add(insertIndex, m); } // Otherwise use the found position. - + return pos; } @@ -606,7 +606,7 @@ public class GapContent * segment before the gap as it is and the segment after the gap at the end * of the new buffer array. This does change the gapEnd mark but not the * gapStart mark. - * + * * @param newSize the new size of the gap */ protected void shiftEnd(int newSize) @@ -641,7 +641,7 @@ public class GapContent /** * Shifts the gap to the specified position. - * + * * @param newGapStart the new start position of the gap */ protected void shiftGap(int newGapStart) @@ -746,14 +746,14 @@ public class GapContent m.mark = newGapEnd; } - + gapEnd = newGapEnd; resetMarksAtZero(); } /** * Returns the allocated buffer array. - * + * * @return the allocated buffer array */ protected final Object getArray() @@ -763,7 +763,7 @@ public class GapContent /** * Replaces a portion of the storage with the specified items. - * + * * @param position the position at which to remove items * @param rmSize the number of items to remove * @param addItems the items to add at location @@ -915,7 +915,7 @@ public class GapContent } return v; } - + /** * Resets all Position that have an offset of 0, * to also have an array index of 0. This might be necessary diff --git a/libjava/classpath/javax/swing/text/GlyphView.java b/libjava/classpath/javax/swing/text/GlyphView.java index 6bc2a38..3f4ccf9 100644 --- a/libjava/classpath/javax/swing/text/GlyphView.java +++ b/libjava/classpath/javax/swing/text/GlyphView.java @@ -110,7 +110,7 @@ public class GlyphView extends View implements TabableView, Cloneable /** * Determines the model offset, so that the text between p0 * and this offset fits within the span starting at x with - * the length of len. + * the length of len. * * @param v the glyph view * @param p0 the starting offset in the model @@ -403,7 +403,7 @@ public class GlyphView extends View implements TabableView, Cloneable : Position.Bias.Backward; return pos + v.getStartOffset(); } - + } /** @@ -424,7 +424,7 @@ public class GlyphView extends View implements TabableView, Cloneable float height = fontMetrics.getHeight(); return height; } - + /** * Paints the glyphs. * @@ -562,7 +562,7 @@ public class GlyphView extends View implements TabableView, Cloneable /** * Determines the model offset, so that the text between p0 * and this offset fits within the span starting at x with - * the length of len. + * the length of len. * * @param v the glyph view * @param p0 the starting offset in the model @@ -739,7 +739,7 @@ public class GlyphView extends View implements TabableView, Cloneable g.fillRect(r.x, r.y, r.width, r.height); } - + // Paint layered highlights if there are any. if (tc != null) { @@ -972,11 +972,11 @@ public class GlyphView extends View implements TabableView, Cloneable } catch (BadLocationException ex) { - AssertionError ae; + AssertionError ae; ae = new AssertionError("BadLocationException should not be " - + "thrown here. p0 = " + p0 + ", p1 = " + p1); - ae.initCause(ex); - throw ae; + + "thrown here. p0 = " + p0 + ", p1 = " + p1); + ae.initCause(ex); + throw ae; } return cached; diff --git a/libjava/classpath/javax/swing/text/Highlighter.java b/libjava/classpath/javax/swing/text/Highlighter.java index 91f3b79..b4b671a 100644 --- a/libjava/classpath/javax/swing/text/Highlighter.java +++ b/libjava/classpath/javax/swing/text/Highlighter.java @@ -57,7 +57,7 @@ public interface Highlighter { void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c); } - + void install(JTextComponent c); void deinstall(JTextComponent c); @@ -76,4 +76,3 @@ public interface Highlighter void paint(Graphics g); } - diff --git a/libjava/classpath/javax/swing/text/InternationalFormatter.java b/libjava/classpath/javax/swing/text/InternationalFormatter.java index 1de5ca2..8dcd03a 100644 --- a/libjava/classpath/javax/swing/text/InternationalFormatter.java +++ b/libjava/classpath/javax/swing/text/InternationalFormatter.java @@ -206,7 +206,7 @@ public class InternationalFormatter * one of the mentioned methods in order to customize behaviour. * * @param ftf the {@link JFormattedTextField} in which this formatter - * is installed + * is installed */ public void install(JFormattedTextField ftf) { diff --git a/libjava/classpath/javax/swing/text/JTextComponent.java b/libjava/classpath/javax/swing/text/JTextComponent.java index 24035e3..a118cf8 100644 --- a/libjava/classpath/javax/swing/text/JTextComponent.java +++ b/libjava/classpath/javax/swing/text/JTextComponent.java @@ -246,7 +246,7 @@ public abstract class JTextComponent extends JComponent { return this; } - + /** * Handle a text insertion event and fire an * AccessibleContext.ACCESSIBLE_TEXT_PROPERTY property change @@ -313,7 +313,7 @@ public abstract class JTextComponent extends JComponent public Rectangle getCharacterBounds(int index) { // This is basically the same as BasicTextUI.modelToView(). - + Rectangle bounds = null; if (index >= 0 && index < doc.getLength() - 1) { @@ -368,12 +368,12 @@ public abstract class JTextComponent extends JComponent return JTextComponent.this.getText().length(); } - /** + /** * Gets the character attributes of the character at index. If * the index is out of bounds, null is returned. * * @param index - index of the character - * + * * @return the character's attributes */ public AttributeSet getCharacterAttribute(int index) @@ -402,24 +402,24 @@ public abstract class JTextComponent extends JComponent /** * Gets the text located at index. null is returned if the index * or part is invalid. - * + * * @param part - {@link #CHARACTER}, {@link #WORD}, or {@link #SENTENCE} * @param index - index of the part - * + * * @return the part of text at that index, or null */ public String getAtIndex(int part, int index) { return getAtIndexImpl(part, index, 0); } - + /** * Gets the text located after index. null is returned if the index * or part is invalid. - * + * * @param part - {@link #CHARACTER}, {@link #WORD}, or {@link #SENTENCE} * @param index - index after the part - * + * * @return the part of text after that index, or null */ public String getAfterIndex(int part, int index) @@ -430,10 +430,10 @@ public abstract class JTextComponent extends JComponent /** * Gets the text located before index. null is returned if the index * or part is invalid. - * + * * @param part - {@link #CHARACTER}, {@link #WORD}, or {@link #SENTENCE} * @param index - index before the part - * + * * @return the part of text before that index, or null */ public String getBeforeIndex(int part, int index) @@ -518,20 +518,20 @@ public abstract class JTextComponent extends JComponent /** * Returns the number of actions for this object. The zero-th * object represents the default action. - * + * * @return the number of actions (0-based). */ public int getAccessibleActionCount() { return getActions().length; } - + /** * Returns the description of the i-th action. Null is returned if * i is out of bounds. - * + * * @param i - the action to get the description for - * + * * @return description of the i-th action */ public String getAccessibleActionDescription(int i) @@ -542,13 +542,13 @@ public abstract class JTextComponent extends JComponent desc = (String) actions[i].getValue(Action.NAME); return desc; } - + /** - * Performs the i-th action. Nothing happens if i is + * Performs the i-th action. Nothing happens if i is * out of bounds. * * @param i - the action to perform - * + * * @return true if the action was performed successfully */ public boolean doAccessibleAction(int i) @@ -564,7 +564,7 @@ public abstract class JTextComponent extends JComponent } return ret; } - + /** * Sets the text contents. * @@ -727,7 +727,7 @@ public abstract class JTextComponent extends JComponent * objects, by delegation to the underlying {@link Keymap}. * *
  • KeymapActionMap extends {@link ActionMap} also holds a reference to - * the underlying {@link Keymap} but only appears to use it for listing + * the underlying {@link Keymap} but only appears to use it for listing * its keys.
  • * *
  • KeymapActionMap maps all {@link Action} objects to @@ -774,7 +774,7 @@ public abstract class JTextComponent extends JComponent public KeyStroke[] keys() { KeyStroke[] superKeys = super.keys(); - KeyStroke[] mapKeys = map.getBoundKeyStrokes(); + KeyStroke[] mapKeys = map.getBoundKeyStrokes(); KeyStroke[] bothKeys = new KeyStroke[superKeys.length + mapKeys.length]; for (int i = 0; i < superKeys.length; ++i) bothKeys[i] = superKeys[i]; @@ -824,22 +824,22 @@ public abstract class JTextComponent extends JComponent return map.getBoundKeyStrokes().length + super.size(); } - public Object[] keys() + public Object[] keys() { Object[] superKeys = super.keys(); - Object[] mapKeys = map.getBoundKeyStrokes(); + Object[] mapKeys = map.getBoundKeyStrokes(); Object[] bothKeys = new Object[superKeys.length + mapKeys.length]; for (int i = 0; i < superKeys.length; ++i) bothKeys[i] = superKeys[i]; for (int i = 0; i < mapKeys.length; ++i) bothKeys[i + superKeys.length] = mapKeys[i]; - return bothKeys; + return bothKeys; } public Object[] allKeys() { Object[] superKeys = super.allKeys(); - Object[] mapKeys = map.getBoundKeyStrokes(); + Object[] mapKeys = map.getBoundKeyStrokes(); Object[] bothKeys = new Object[superKeys.length + mapKeys.length]; for (int i = 0; i < superKeys.length; ++i) bothKeys[i] = superKeys[i]; @@ -929,10 +929,10 @@ public abstract class JTextComponent extends JComponent i = 0; e = map.keys(); while (e.hasMoreElements()) - { + { KeyStroke k = (KeyStroke) e.nextElement(); if (map.get(k).equals(a)) - ret[i++] = k; + ret[i++] = k; } return ret; } @@ -978,21 +978,21 @@ public abstract class JTextComponent extends JComponent public boolean canImport(JComponent component, DataFlavor[] flavors) { JTextComponent textComponent = (JTextComponent) component; - + if (! (textComponent.isEnabled() - && textComponent.isEditable() - && flavors != null)) + && textComponent.isEditable() + && flavors != null)) return false; for (int i = 0; i < flavors.length; ++i) - if (flavors[i].equals(DataFlavor.stringFlavor)) - return true; + if (flavors[i].equals(DataFlavor.stringFlavor)) + return true; return false; } - + public void exportToClipboard(JComponent component, Clipboard clipboard, - int action) + int action) { JTextComponent textComponent = (JTextComponent) component; int start = textComponent.getSelectionStart(); @@ -1017,7 +1017,7 @@ public abstract class JTextComponent extends JComponent // Ignore this and do nothing. } } - + public int getSourceActions() { return NONE; @@ -1034,7 +1034,7 @@ public abstract class JTextComponent extends JComponent for (int i = 0; i < flavors.length; ++i) if (flavors[i].equals(DataFlavor.stringFlavor)) flavor = flavors[i]; - + if (flavor == null) return false; @@ -1059,10 +1059,10 @@ public abstract class JTextComponent extends JComponent } private static final long serialVersionUID = -8796518220218978795L; - + public static final String DEFAULT_KEYMAP = "default"; public static final String FOCUS_ACCELERATOR_KEY = "focusAcceleratorKey"; - + private static DefaultTransferHandler defaultTransferHandler; private static Hashtable keymaps = new Hashtable(); private Keymap keymap; @@ -1096,7 +1096,7 @@ public abstract class JTextComponent extends JComponent * @see #addKeymap * @see #getKeymap() * @see #keymaps - */ + */ public static Keymap removeKeymap(String n) { Keymap km = (Keymap) keymaps.get(n); @@ -1110,7 +1110,7 @@ public abstract class JTextComponent extends JComponent * in which case the new Keymap will not be added to the global * Keymap table. The parent may also be null, which is * harmless. - * + * * @param n The name of the new Keymap, or null * @param parent The parent of the new Keymap, or null * @@ -1137,7 +1137,7 @@ public abstract class JTextComponent extends JComponent * @see #setKeymap * @see #keymap */ - public Keymap getKeymap() + public Keymap getKeymap() { return keymap; } @@ -1151,26 +1151,26 @@ public abstract class JTextComponent extends JComponent * @see #getKeymap() * @see #keymap */ - public void setKeymap(Keymap k) + public void setKeymap(Keymap k) { // phase 1: replace the KeymapWrapper entry in the InputMap chain. // the goal here is to always maintain the following ordering: // // [InputMap]? -> [KeymapWrapper]? -> [InputMapUIResource]* - // + // // that is to say, component-specific InputMaps need to remain children // of Keymaps, and Keymaps need to remain children of UI-installed // InputMaps (and the order of each group needs to be preserved, of // course). - + KeymapWrapper kw = (k == null ? null : new KeymapWrapper(k)); InputMap childInputMap = getInputMap(JComponent.WHEN_FOCUSED); if (childInputMap == null) setInputMap(JComponent.WHEN_FOCUSED, kw); else { - while (childInputMap.getParent() != null + while (childInputMap.getParent() != null && !(childInputMap.getParent() instanceof KeymapWrapper) && !(childInputMap.getParent() instanceof InputMapUIResource)) childInputMap = childInputMap.getParent(); @@ -1178,7 +1178,7 @@ public abstract class JTextComponent extends JComponent // option 1: there is nobody to replace at the end of the chain if (childInputMap.getParent() == null) childInputMap.setParent(kw); - + // option 2: there is already a KeymapWrapper in the chain which // needs replacing (possibly with its own parents, possibly without) else if (childInputMap.getParent() instanceof KeymapWrapper) @@ -1212,7 +1212,7 @@ public abstract class JTextComponent extends JComponent setActionMap(kam); else { - while (childActionMap.getParent() != null + while (childActionMap.getParent() != null && !(childActionMap.getParent() instanceof KeymapActionMap) && !(childActionMap.getParent() instanceof ActionMapUIResource)) childActionMap = childActionMap.getParent(); @@ -1220,7 +1220,7 @@ public abstract class JTextComponent extends JComponent // option 1: there is nobody to replace at the end of the chain if (childActionMap.getParent() == null) childActionMap.setParent(kam); - + // option 2: there is already a KeymapActionMap in the chain which // needs replacing (possibly with its own parents, possibly without) else if (childActionMap.getParent() instanceof KeymapActionMap) @@ -1269,8 +1269,8 @@ public abstract class JTextComponent extends JComponent * @see Action#getValue * @see KeyBinding#actionName */ - public static void loadKeymap(Keymap map, - JTextComponent.KeyBinding[] bindings, + public static void loadKeymap(Keymap map, + JTextComponent.KeyBinding[] bindings, Action[] actions) { Hashtable acts = new Hashtable(actions.length); @@ -1298,12 +1298,12 @@ public abstract class JTextComponent extends JComponent { return getUI().getEditorKit(this).getActions(); } - + // These are package-private to avoid an accessor method. Document doc; Caret caret; boolean editable; - + private Highlighter highlighter; private Color caretColor; private Color disabledTextColor; @@ -1445,10 +1445,10 @@ public abstract class JTextComponent extends JComponent { int start = getSelectionStart(); int offset = getSelectionEnd() - start; - + if (offset <= 0) return null; - + try { return doc.getText(start, offset); @@ -1565,7 +1565,7 @@ public abstract class JTextComponent extends JComponent { if (editable == newValue) return; - + boolean oldValue = editable; editable = newValue; firePropertyChange("editable", oldValue, newValue); @@ -1590,13 +1590,13 @@ public abstract class JTextComponent extends JComponent { if (caret != null) caret.deinstall(this); - + Caret oldCaret = caret; caret = newCaret; if (caret != null) caret.install(this); - + firePropertyChange("caret", oldCaret, newCaret); } @@ -1698,13 +1698,13 @@ public abstract class JTextComponent extends JComponent { if (highlighter != null) highlighter.deinstall(this); - + Highlighter oldHighlighter = highlighter; highlighter = newHighlighter; if (highlighter != null) highlighter.install(this); - + firePropertyChange("highlighter", oldHighlighter, newHighlighter); } @@ -1757,7 +1757,7 @@ public abstract class JTextComponent extends JComponent public void select(int start, int end) { int length = doc.getLength(); - + start = Math.max(start, 0); start = Math.min(start, length); @@ -1803,7 +1803,7 @@ public abstract class JTextComponent extends JComponent // Set dot to new position, dot = start + content.length(); setCaretPosition(dot); - + // and update it's magic position. caret.setMagicCaretPosition(modelToView(dot).getLocation()); } @@ -1969,7 +1969,7 @@ public abstract class JTextComponent extends JComponent focusAccelerator = newKey; firePropertyChange(FOCUS_ACCELERATOR_KEY, oldKey, newKey); } - + public char getFocusAccelerator() { return focusAccelerator; @@ -1990,7 +1990,7 @@ public abstract class JTextComponent extends JComponent { navigationFilter = filter; } - + /** * Read and set the content this component. If not overridden, the * method reads the component content as a plain text. diff --git a/libjava/classpath/javax/swing/text/Keymap.java b/libjava/classpath/javax/swing/text/Keymap.java index c3f61d8..e1b305f 100644 --- a/libjava/classpath/javax/swing/text/Keymap.java +++ b/libjava/classpath/javax/swing/text/Keymap.java @@ -1,4 +1,4 @@ -/* Keymap.java -- +/* Keymap.java -- Copyright (C) 2002, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -42,19 +42,17 @@ import javax.swing.KeyStroke; public interface Keymap { - void addActionForKeyStroke(KeyStroke key, Action a); - Action getAction(KeyStroke key); - Action[] getBoundActions(); - KeyStroke[] getBoundKeyStrokes(); - Action getDefaultAction(); - KeyStroke[] getKeyStrokesForAction(Action a); - String getName(); - Keymap getResolveParent(); - boolean isLocallyDefined(KeyStroke key); - void removeBindings(); - void removeKeyStrokeBinding(KeyStroke keys); - void setDefaultAction(Action a); + void addActionForKeyStroke(KeyStroke key, Action a); + Action getAction(KeyStroke key); + Action[] getBoundActions(); + KeyStroke[] getBoundKeyStrokes(); + Action getDefaultAction(); + KeyStroke[] getKeyStrokesForAction(Action a); + String getName(); + Keymap getResolveParent(); + boolean isLocallyDefined(KeyStroke key); + void removeBindings(); + void removeKeyStrokeBinding(KeyStroke keys); + void setDefaultAction(Action a); void setResolveParent(Keymap parent); } - - diff --git a/libjava/classpath/javax/swing/text/LayeredHighlighter.java b/libjava/classpath/javax/swing/text/LayeredHighlighter.java index dcaf1c50..3eac26b 100644 --- a/libjava/classpath/javax/swing/text/LayeredHighlighter.java +++ b/libjava/classpath/javax/swing/text/LayeredHighlighter.java @@ -47,10 +47,10 @@ public abstract class LayeredHighlighter implements Highlighter.HighlightPainter { public abstract Shape paintLayer(Graphics g, int p0, int p1, - Shape viewBounds, JTextComponent editor, - View view); + Shape viewBounds, JTextComponent editor, + View view); } - + public abstract void paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view); diff --git a/libjava/classpath/javax/swing/text/LayoutQueue.java b/libjava/classpath/javax/swing/text/LayoutQueue.java index b0c84b9..10fadd5 100644 --- a/libjava/classpath/javax/swing/text/LayoutQueue.java +++ b/libjava/classpath/javax/swing/text/LayoutQueue.java @@ -67,8 +67,8 @@ public class LayoutQueue { synchronized (list) { - list.addLast(task); - list.notify(); + list.addLast(task); + list.notify(); } } @@ -81,20 +81,20 @@ public class LayoutQueue { synchronized (list) { - while (list.size() == 0) - { - try - { - list.wait(); - } - catch (InterruptedException _) - { - // This seemed like a good idea, but it has not been - // tested on the JDK. - return null; - } - } - return (Runnable) list.removeFirst(); + while (list.size() == 0) + { + try + { + list.wait(); + } + catch (InterruptedException _) + { + // This seemed like a good idea, but it has not been + // tested on the JDK. + return null; + } + } + return (Runnable) list.removeFirst(); } } diff --git a/libjava/classpath/javax/swing/text/MaskFormatter.java b/libjava/classpath/javax/swing/text/MaskFormatter.java index 4ebf65b..c8f631a 100644 --- a/libjava/classpath/javax/swing/text/MaskFormatter.java +++ b/libjava/classpath/javax/swing/text/MaskFormatter.java @@ -1,4 +1,4 @@ -/* MaskFormatter.java -- +/* MaskFormatter.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -59,53 +59,53 @@ public class MaskFormatter extends DefaultFormatter private static final char LETTER_CHAR = '?'; private static final char ANYTHING_CHAR = '*'; private static final char HEX_CHAR = 'H'; - + /** The mask for this MaskFormatter **/ private String mask; - - /** - * A String made up of the characters that are not valid for input for - * this MaskFormatter. + + /** + * A String made up of the characters that are not valid for input for + * this MaskFormatter. */ private String invalidChars; - - /** - * A String made up of the characters that are valid for input for - * this MaskFormatter. + + /** + * A String made up of the characters that are valid for input for + * this MaskFormatter. */ private String validChars; - - /** A String used in place of missing chracters if the value does not + + /** A String used in place of missing chracters if the value does not * completely fill in the spaces in the mask. */ private String placeHolder; - - /** A character used in place of missing characters if the value does + + /** A character used in place of missing characters if the value does * not completely fill in the spaces in the mask. */ private char placeHolderChar = ' '; - + /** * Whether or not stringToValue should return literal characters in the mask. */ private boolean valueContainsLiteralCharacters = true; - + /** A String used for easy access to valid HEX characters **/ private static String hexString = "0123456789abcdefABCDEF"; - + /** An int to hold the length of the mask, accounting for escaped characters **/ int maskLength = 0; - + public MaskFormatter () { // Override super's default behaviour, in MaskFormatter the default // is not to allow invalid values setAllowsInvalid(false); } - + /** * Creates a MaskFormatter with the specified mask. - * @specnote doesn't actually throw a ParseException although it + * @specnote doesn't actually throw a ParseException although it * is declared to do so * @param mask * @throws java.text.ParseException @@ -115,7 +115,7 @@ public class MaskFormatter extends DefaultFormatter this(); setMask (mask); } - + /** * Returns the mask used in this MaskFormatter. * @return the mask used in this MaskFormatter. @@ -124,7 +124,7 @@ public class MaskFormatter extends DefaultFormatter { return mask; } - + /** * Returns a String containing the characters that are not valid for input * for this MaskFormatter. @@ -134,19 +134,19 @@ public class MaskFormatter extends DefaultFormatter { return invalidChars; } - + /** * Sets characters that are not valid for input. If * invalidCharacters is non-null then no characters contained * in it will be allowed to be input. - * + * * @param invalidCharacters the String specifying invalid characters. */ public void setInvalidCharacters (String invalidCharacters) { this.invalidChars = invalidCharacters; } - + /** * Returns a String containing the characters that are valid for input * for this MaskFormatter. @@ -156,12 +156,12 @@ public class MaskFormatter extends DefaultFormatter { return validChars; } - + /** * Sets characters that are valid for input. If * validCharacters is non-null then no characters that are * not contained in it will be allowed to be input. - * + * * @param validCharacters the String specifying valid characters. */ public void setValidCharacters (String validCharacters) @@ -170,7 +170,7 @@ public class MaskFormatter extends DefaultFormatter } /** - * Returns the place holder String that is used in place of missing + * Returns the place holder String that is used in place of missing * characters when the value doesn't completely fill in the spaces * in the mask. * @return the place holder String. @@ -179,18 +179,18 @@ public class MaskFormatter extends DefaultFormatter { return placeHolder; } - + /** * Sets the string to use if the value does not completely fill in the mask. * If this is null, the place holder character will be used instead. - * @param placeholder the String to use if the value doesn't completely + * @param placeholder the String to use if the value doesn't completely * fill in the mask. */ public void setPlaceholder (String placeholder) { this.placeHolder = placeholder; } - + /** * Returns the character used in place of missing characters when the * value doesn't completely fill the mask. @@ -200,42 +200,42 @@ public class MaskFormatter extends DefaultFormatter { return placeHolderChar; } - + /** * Sets the char to use if the value does not completely fill in the mask. - * This is only used if the place holder String has not been set or does + * This is only used if the place holder String has not been set or does * not completely fill in the mask. - * @param placeholder the char to use if the value doesn't completely + * @param placeholder the char to use if the value doesn't completely * fill in the mask. */ public void setPlaceholderCharacter (char placeholder) { this.placeHolderChar = placeholder; } - + /** - * Returns true if stringToValue should return the literal + * Returns true if stringToValue should return the literal * characters in the mask. - * @return true if stringToValue should return the literal + * @return true if stringToValue should return the literal * characters in the mask */ public boolean getValueContainsLiteralCharacters() { return valueContainsLiteralCharacters; } - + /** * Determines whether stringToValue will return literal characters or not. - * @param containsLiteralChars if true, stringToValue will return the + * @param containsLiteralChars if true, stringToValue will return the * literal characters in the mask, otherwise it will not. */ public void setValueContainsLiteralCharacters (boolean containsLiteralChars) { this.valueContainsLiteralCharacters = containsLiteralChars; } - + /** - * Sets the mask for this MaskFormatter. + * Sets the mask for this MaskFormatter. * @specnote doesn't actually throw a ParseException even though it is * declared to do so * @param mask the new mask for this MaskFormatter @@ -247,14 +247,14 @@ public class MaskFormatter extends DefaultFormatter // Update the cached maskLength. int end = mask.length() - 1; - maskLength = 0; + maskLength = 0; for (int i = 0; i <= end; i++) { // Handle escape characters properly - they don't add to the maskLength // but 2 escape characters in a row is really one escape character and // one literal single quote, so that does add 1 to the maskLength. if (mask.charAt(i) == '\'') - { + { // Escape characters at the end of the mask don't do anything. if (i != end) maskLength++; @@ -264,14 +264,14 @@ public class MaskFormatter extends DefaultFormatter maskLength++; } } - + /** * Installs this MaskFormatter on the JFormattedTextField. - * Invokes valueToString to convert the current value from the + * Invokes valueToString to convert the current value from the * JFormattedTextField to a String, then installs the Actions from - * getActions, the DocumentFilter from getDocumentFilter, and the + * getActions, the DocumentFilter from getDocumentFilter, and the * NavigationFilter from getNavigationFilter. - * + * * If valueToString throws a ParseException, this method sets the text * to an empty String and marks the JFormattedTextField as invalid. */ @@ -293,14 +293,14 @@ public class MaskFormatter extends DefaultFormatter } } } - + /** * Parses the text using the mask, valid characters, and invalid characters * to determine the appropriate Object to return. This strips the literal * characters if necessary and invokes super.stringToValue. If the paramter - * is invalid for the current mask and valid/invalid character sets this + * is invalid for the current mask and valid/invalid character sets this * method will throw a ParseException. - * + * * @param value the String to parse * @throws ParseException if value doesn't match the mask and valid/invalid * character sets @@ -309,7 +309,7 @@ public class MaskFormatter extends DefaultFormatter { return super.stringToValue(convertStringToValue(value)); } - + private String convertStringToValue(String value) throws ParseException { @@ -347,7 +347,7 @@ public class MaskFormatter extends DefaultFormatter valueChar = placeHolderChar; } - // This switch block on the mask character checks that the character + // This switch block on the mask character checks that the character // within value at that point is valid according to the // mask and also converts to upper/lowercase as needed. switch (maskChar) @@ -393,7 +393,7 @@ public class MaskFormatter extends DefaultFormatter i++; break; case ESCAPE_CHAR: - // Escape character, check the next character to make sure that + // Escape character, check the next character to make sure that // the literals match j++; if (j < length) @@ -427,7 +427,7 @@ public class MaskFormatter extends DefaultFormatter /** * Returns a String representation of the Object value based on the mask. - * + * * @param value the value to convert * @throws ParseException if value is invalid for this mask and valid/invalid * character sets @@ -437,7 +437,7 @@ public class MaskFormatter extends DefaultFormatter String string = value != null ? value.toString() : ""; return convertValueToString(string); } - + /** * This method takes in a String and runs it through the mask to make * sure that it is valid. If convert is true, it also @@ -483,7 +483,7 @@ public class MaskFormatter extends DefaultFormatter valueChar = placeHolderChar; } - // This switch block on the mask character checks that the character + // This switch block on the mask character checks that the character // within value at that point is valid according to the // mask and also converts to upper/lowercase as needed. switch (maskChar) @@ -529,7 +529,7 @@ public class MaskFormatter extends DefaultFormatter i++; break; case ESCAPE_CHAR: - // Escape character, check the next character to make sure that + // Escape character, check the next character to make sure that // the literals match j++; if (j < length) diff --git a/libjava/classpath/javax/swing/text/MutableAttributeSet.java b/libjava/classpath/javax/swing/text/MutableAttributeSet.java index 5dd2406..eb52be5 100644 --- a/libjava/classpath/javax/swing/text/MutableAttributeSet.java +++ b/libjava/classpath/javax/swing/text/MutableAttributeSet.java @@ -40,10 +40,10 @@ package javax.swing.text; import java.util.Enumeration; /** - * An {@link AttributeSet} that supports modification of the stored + * An {@link AttributeSet} that supports modification of the stored * attributes. - * - * @author Andrew Selkirk + * + * @author Andrew Selkirk * @since 1.2 */ public interface MutableAttributeSet extends AttributeSet @@ -52,54 +52,54 @@ public interface MutableAttributeSet extends AttributeSet * Adds an attribute with the given name and value * to the set. If the set already contains an attribute with the given * name, the attribute value is updated. - * + * * @param name the attribute name (null not permitted). * @param value the value (null not permitted). - * + * * @throws NullPointerException if either argument is null. */ void addAttribute(Object name, Object value); /** * Adds all the attributes from attributes to this set. - * + * * @param attributes the set of attributes to add (null not * permitted). - * - * @throws NullPointerException if attributes is + * + * @throws NullPointerException if attributes is * null. */ void addAttributes(AttributeSet attributes); /** - * Removes the attribute with the specified name, if this + * Removes the attribute with the specified name, if this * attribute is defined. This method will only remove an attribute from * this set, not from the resolving parent. - * + * * @param name the attribute name (null not permitted). - * + * * @throws NullPointerException if name is null. */ void removeAttribute(Object name); /** * Removes the attributes listed in names. - * + * * @param names the attribute names (null not permitted). - * - * @throws NullPointerException if names is null + * + * @throws NullPointerException if names is null * or contains any null values. */ void removeAttributes(Enumeration names); /** - * Removes attributes from this set if they are found in the + * Removes attributes from this set if they are found in the * given set. Only attributes whose key AND value are removed. - * Removes attributes only from this set, not from the resolving parent. - * Since the resolving parent is stored as an attribute, if + * Removes attributes only from this set, not from the resolving parent. + * Since the resolving parent is stored as an attribute, if * attributes has the same resolving parent as this set, the * parent will be removed from this set. - * + * * @param attributes the attributes (null not permitted). */ void removeAttributes(AttributeSet attributes); @@ -107,10 +107,10 @@ public interface MutableAttributeSet extends AttributeSet /** * Sets the reolving parent for this set. When looking up an attribute, if * it is not found in this set, then the resolving parent is also used for - * the lookup. - * + * the lookup. + * * @param parent the parent attribute set (null not permitted). - * + * * @throws NullPointerException if parent is null. */ void setResolveParent(AttributeSet parent); diff --git a/libjava/classpath/javax/swing/text/NavigationFilter.java b/libjava/classpath/javax/swing/text/NavigationFilter.java index ea9b29d..647ac70 100644 --- a/libjava/classpath/javax/swing/text/NavigationFilter.java +++ b/libjava/classpath/javax/swing/text/NavigationFilter.java @@ -51,20 +51,20 @@ public class NavigationFilter public abstract void moveDot(int dot, Position.Bias bias); public abstract void setDot(int dot, Position.Bias bias); } - + public NavigationFilter() { // Do nothing here. } public void moveDot(NavigationFilter.FilterBypass fb, int dot, - Position.Bias bias) + Position.Bias bias) { fb.moveDot(dot, bias); } public void setDot(NavigationFilter.FilterBypass fb, int dot, - Position.Bias bias) + Position.Bias bias) { fb.setDot(dot, bias); } diff --git a/libjava/classpath/javax/swing/text/NumberFormatter.java b/libjava/classpath/javax/swing/text/NumberFormatter.java index a858ff4..ce5eef9 100644 --- a/libjava/classpath/javax/swing/text/NumberFormatter.java +++ b/libjava/classpath/javax/swing/text/NumberFormatter.java @@ -1,4 +1,4 @@ -/* NumberFormatter.java -- +/* NumberFormatter.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -45,22 +45,22 @@ import java.text.NumberFormat; * NumberFormatter is an {@link InternationalFormatter} * that implements value to string and string to value conversion via * an instance of {@link NumberFormat}. - * + * * @author Anthony Balkissoon abalkiss at redhat dot com * @since 1.4 */ public class NumberFormatter extends InternationalFormatter { - + /** - * Creates a NumberFormatter with the default NumberFormat from - * NumberFormat.getNumberInstance(). + * Creates a NumberFormatter with the default NumberFormat from + * NumberFormat.getNumberInstance(). */ public NumberFormatter () { this (NumberFormat.getNumberInstance()); } - + /** * Creates a NumberFormatter with the specified NumberFormat. * @param format the NumberFormat to use for this NumberFormatter. @@ -70,11 +70,11 @@ public class NumberFormatter extends InternationalFormatter super(format); setFormat(format); } - + /** * Sets the NumberFormat that this NumberFormatter will use to determine * legal values for editing and displaying. - * + * * @param format the Format to use to determine legal values. */ public void setFormat (Format format) diff --git a/libjava/classpath/javax/swing/text/ParagraphView.java b/libjava/classpath/javax/swing/text/ParagraphView.java index f2795e2..4d4c7a0 100644 --- a/libjava/classpath/javax/swing/text/ParagraphView.java +++ b/libjava/classpath/javax/swing/text/ParagraphView.java @@ -297,7 +297,7 @@ public class ParagraphView extends FlowView implements TabExpander /** * Sets the justification of the paragraph. * - * @param j the justification to set + * @param j the justification to set */ protected void setJustification(int j) { diff --git a/libjava/classpath/javax/swing/text/PasswordView.java b/libjava/classpath/javax/swing/text/PasswordView.java index 9d4c86a..62b1419 100644 --- a/libjava/classpath/javax/swing/text/PasswordView.java +++ b/libjava/classpath/javax/swing/text/PasswordView.java @@ -1,4 +1,4 @@ -/* PasswordView.java -- +/* PasswordView.java -- Copyright (C) 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -155,7 +155,7 @@ public class PasswordView /** * Determines the preferred span for this view along an axis. - * + * * @param axis to get the preferred span of * @return the preferred span of the axis */ @@ -196,7 +196,7 @@ public class PasswordView * @param a - the allocated region to render into * @param b - typesafe enumeration to indicate bias to a position in the model. * @return the bounding box of the given position - * @throws BadLocationException if the given position does not + * @throws BadLocationException if the given position does not * represent a valid location in the associated document */ public Shape modelToView(int pos, Shape a, Position.Bias b) @@ -206,7 +206,7 @@ public class PasswordView // Ensure metrics are up-to-date. updateMetrics(); - + // Get rectangle of the line containing position. int lineIndex = getElement().getElementIndex(pos); Rectangle rect = lineToRect(newAlloc, lineIndex); @@ -234,16 +234,16 @@ public class PasswordView } /** - * Provides a mapping from the view coordinate space to the logical + * Provides a mapping from the view coordinate space to the logical * coordinate space of the model. - * + * * @param fx - the X coordinate >= 0.0f * @param fy - the Y coordinate >= 0.0f - * @param a - the allocated region to render into + * @param a - the allocated region to render into * @param bias - typesafe enumeration to indicate bias to a position in the model. - * @return the location within the model that best represents + * @return the location within the model that best represents * the given point in the view - * + * */ public int viewToModel(float fx, float fy, Shape a, Position.Bias[] bias) { diff --git a/libjava/classpath/javax/swing/text/PlainDocument.java b/libjava/classpath/javax/swing/text/PlainDocument.java index 730a619..070c760 100644 --- a/libjava/classpath/javax/swing/text/PlainDocument.java +++ b/libjava/classpath/javax/swing/text/PlainDocument.java @@ -52,7 +52,7 @@ import java.util.ArrayList; public class PlainDocument extends AbstractDocument { private static final long serialVersionUID = 4758290289196893664L; - + public static final String lineLimitAttribute = "lineLimit"; public static final String tabSizeAttribute = "tabSize"; @@ -62,7 +62,7 @@ public class PlainDocument extends AbstractDocument * createDefaultRoot() (when overridden by a subclass). */ private Element rootElement; - + public PlainDocument() { this(new GapContent()); @@ -80,7 +80,7 @@ public class PlainDocument extends AbstractDocument private void reindex() { Element[] lines; - try + try { String str = content.getString(0, content.length()); @@ -91,10 +91,10 @@ public class PlainDocument extends AbstractDocument elts.add(createLeafElement(rootElement, SimpleAttributeSet.EMPTY, j, i + 1)); j = i + 1; } - + if (j < content.length()) elts.add(createLeafElement(rootElement, SimpleAttributeSet.EMPTY, j, content.length())); - + lines = new Element[elts.size()]; for (int i = 0; i < elts.size(); ++i) lines[i] = (Element) elts.get(i); @@ -116,7 +116,7 @@ public class PlainDocument extends AbstractDocument Element[] array = new Element[1]; array[0] = createLeafElement(root, null, 0, 1); root.replace(0, 0, array); - + return root; } @@ -239,9 +239,9 @@ public class PlainDocument extends AbstractDocument removed = new Element [i2 - i1 + 1]; for (int i = i1; i <= i2; i++) removed[i-i1] = rootElement.getElement(i); - + int start = rootElement.getElement(i1).getStartOffset(); - int end = rootElement.getElement(i2).getEndOffset(); + int end = rootElement.getElement(i2).getEndOffset(); added[0] = createLeafElement(rootElement, SimpleAttributeSet.EMPTY, start, end); diff --git a/libjava/classpath/javax/swing/text/PlainView.java b/libjava/classpath/javax/swing/text/PlainView.java index e048d5f..16112fd 100644 --- a/libjava/classpath/javax/swing/text/PlainView.java +++ b/libjava/classpath/javax/swing/text/PlainView.java @@ -1,4 +1,4 @@ -/* PlainView.java -- +/* PlainView.java -- Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -59,7 +59,7 @@ public class PlainView extends View implements TabExpander * The color that is used to draw disabled text fields. */ Color disabledColor; - + /** * While painting this is the textcomponent's current start index * of the selection. @@ -73,13 +73,13 @@ public class PlainView extends View implements TabExpander int selectionEnd; Font font; - + /** The length of the longest line in the Document **/ float maxLineLength = -1; - + /** The longest line in the Document **/ Element longestLine = null; - + protected FontMetrics metrics; /** @@ -112,12 +112,12 @@ public class PlainView extends View implements TabExpander if (this.font != font) { - this.font = font; - metrics = component.getFontMetrics(font); + this.font = font; + metrics = component.getFontMetrics(font); tabSize = getTabSize() * metrics.charWidth('m'); } } - + /** * @since 1.4 */ @@ -125,11 +125,11 @@ public class PlainView extends View implements TabExpander { // Ensure metrics are up-to-date. updateMetrics(); - + Rectangle rect = a instanceof Rectangle ? (Rectangle) a : a.getBounds(); int fontHeight = metrics.getHeight(); return new Rectangle(rect.x, rect.y + (line * fontHeight), - rect.width, fontHeight); + rect.width, fontHeight); } public Shape modelToView(int position, Shape a, Position.Bias b) @@ -137,7 +137,7 @@ public class PlainView extends View implements TabExpander { // Ensure metrics are up-to-date. updateMetrics(); - + Document document = getDocument(); // Get rectangle of the line containing position. @@ -151,7 +151,7 @@ public class PlainView extends View implements TabExpander Segment segment = getLineBuffer(); document.getText(lineStart, position - lineStart, segment); int xoffset = Utilities.getTabbedTextWidth(segment, metrics, tabBase, - this, lineStart); + this, lineStart); // Calc the real rectangle. rect.x += xoffset; @@ -160,7 +160,7 @@ public class PlainView extends View implements TabExpander return rect; } - + /** * Draws a line of text. The X and Y coordinates specify the start of * the baseline of the line. @@ -177,7 +177,7 @@ public class PlainView extends View implements TabExpander Element line = getElement().getElement(lineIndex); int startOffset = line.getStartOffset(); int endOffset = line.getEndOffset() - 1; - + if (selectionStart <= startOffset) // Selection starts before the line ... if (selectionEnd <= startOffset) @@ -265,7 +265,7 @@ public class PlainView extends View implements TabExpander { // Ensure metrics are up-to-date. updateMetrics(); - + JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); @@ -324,7 +324,7 @@ public class PlainView extends View implements TabExpander * Returns the tab size of a tab. Checks the Document's * properties for PlainDocument.tabSizeAttribute and returns it if it is * defined, otherwise returns 8. - * + * * @return the tab size. */ protected int getTabSize() @@ -339,7 +339,7 @@ public class PlainView extends View implements TabExpander * Returns the next tab stop position after a given reference position. * * This implementation ignores the tabStop argument. - * + * * @param x the current x position in pixels * @param tabStop the position within the text stream that the tab occured at */ @@ -351,7 +351,7 @@ public class PlainView extends View implements TabExpander int numTabs = (((int) x) - tabBase) / tabSize; next = tabBase + (numTabs + 1) * tabSize; } - return next; + return next; } /** @@ -363,7 +363,7 @@ public class PlainView extends View implements TabExpander // if the longest line is cached, return the cached value if (maxLineLength != -1) return maxLineLength; - + // otherwise we have to go through all the lines and find it Element el = getElement(); Segment seg = getLineBuffer(); @@ -380,13 +380,13 @@ public class PlainView extends View implements TabExpander catch (BadLocationException ex) { AssertionError ae = new AssertionError("Unexpected bad location"); - ae.initCause(ex); - throw ae; + ae.initCause(ex); + throw ae; } - + if (seg == null || seg.array == null || seg.count == 0) continue; - + int width = metrics.charsWidth(seg.array, seg.offset, seg.count); if (width > span) { @@ -397,7 +397,7 @@ public class PlainView extends View implements TabExpander maxLineLength = span; return maxLineLength; } - + public float getPreferredSpan(int axis) { if (axis != X_AXIS && axis != Y_AXIS) @@ -419,7 +419,7 @@ public class PlainView extends View implements TabExpander span = metrics.getHeight() * el.getElementCount(); break; } - + return span; } @@ -483,14 +483,14 @@ public class PlainView extends View implements TabExpander pos = -1; } } - + } } // Bias is always forward. b[0] = Position.Bias.Forward; return pos; - } - + } + /** * Since insertUpdate and removeUpdate each deal with children * Elements being both added and removed, they both have to perform @@ -592,7 +592,7 @@ public class PlainView extends View implements TabExpander /** * This method is called when something is inserted into the Document * that this View is displaying. - * + * * @param changes the DocumentEvent for the changes. * @param a the allocation of the View * @param f the ViewFactory used to rebuild @@ -605,7 +605,7 @@ public class PlainView extends View implements TabExpander /** * This method is called when something is removed from the Document * that this View is displaying. - * + * * @param changes the DocumentEvent for the changes. * @param a the allocation of the View * @param f the ViewFactory used to rebuild @@ -614,28 +614,28 @@ public class PlainView extends View implements TabExpander { updateDamage(changes, a, f); } - + /** - * This method is called when attributes were changed in the + * This method is called when attributes were changed in the * Document in a location that this view is responsible for. */ public void changedUpdate (DocumentEvent changes, Shape a, ViewFactory f) { updateDamage(changes, a, f); } - + /** * Repaint the given line range. This is called from insertUpdate, - * changedUpdate, and removeUpdate when no new lines were added - * and no lines were removed, to repaint the line that was + * changedUpdate, and removeUpdate when no new lines were added + * and no lines were removed, to repaint the line that was * modified. - * + * * @param line0 the start of the range * @param line1 the end of the range * @param a the rendering region of the host * @param host the Component that uses this View (used to call repaint * on that Component) - * + * * @since 1.4 */ protected void damageLineRange (int line0, int line1, Shape a, Component host) @@ -656,7 +656,7 @@ public class PlainView extends View implements TabExpander rec0.height, rec1); host.repaint(repaintRec.x, repaintRec.y, repaintRec.width, repaintRec.height); - } + } } /** @@ -722,4 +722,3 @@ public class PlainView extends View implements TabExpander lineEl.getStartOffset()); } } - diff --git a/libjava/classpath/javax/swing/text/Position.java b/libjava/classpath/javax/swing/text/Position.java index d02eb83..56c8b6e 100644 --- a/libjava/classpath/javax/swing/text/Position.java +++ b/libjava/classpath/javax/swing/text/Position.java @@ -1,4 +1,4 @@ -/* Position.java -- +/* Position.java -- Copyright (C) 2002, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -46,7 +46,7 @@ public interface Position public static final Bias Forward = new Bias("Forward"); private String name; - + private Bias(String n) { name = n; @@ -57,6 +57,6 @@ public interface Position return name; } } - + int getOffset(); } diff --git a/libjava/classpath/javax/swing/text/Segment.java b/libjava/classpath/javax/swing/text/Segment.java index 63c5fa0..7486ab3 100644 --- a/libjava/classpath/javax/swing/text/Segment.java +++ b/libjava/classpath/javax/swing/text/Segment.java @@ -45,16 +45,16 @@ import java.text.CharacterIterator; public class Segment implements Cloneable, CharacterIterator { private boolean partialReturn; - + /** The current index. */ private int current; - + /** Storage for the characters (may contain additional characters). */ public char[] array; - + /** The number of characters in the segment. */ public int count; - + /** The offset of the first character in the segment. */ public int offset; @@ -68,7 +68,7 @@ public class Segment implements Cloneable, CharacterIterator /** * Creates a new Segment. - * + * * @param array the underlying character data. * @param offset the offset of the first character in the segment. * @param count the number of characters in the segment. @@ -79,38 +79,38 @@ public class Segment implements Cloneable, CharacterIterator this.offset = offset; this.count = count; } - + /** * Clones the segment (note that the underlying character array is not cloned, * just the reference to it). - * + * * @return A clone of the segment. */ public Object clone() { try { - return super.clone(); + return super.clone(); } catch (CloneNotSupportedException e) { - return null; + return null; } } /** * Returns the character at the current index. If the segment consists of - * zero characters, or the current index has passed the end of the + * zero characters, or the current index has passed the end of the * characters in the segment, this method returns {@link #DONE}. - * + * * @return The character at the current index. */ public char current() { if (count == 0 - || current >= getEndIndex()) + || current >= getEndIndex()) return DONE; - + return array[current]; } @@ -118,8 +118,8 @@ public class Segment implements Cloneable, CharacterIterator * Sets the current index to the first character in the segment and returns * that character. If the segment contains zero characters, this method * returns {@link #DONE}. - * - * @return The first character in the segment, or {@link #DONE} if the + * + * @return The first character in the segment, or {@link #DONE} if the * segment contains zero characters. */ public char first() @@ -133,7 +133,7 @@ public class Segment implements Cloneable, CharacterIterator /** * Returns the index of the first character in the segment. - * + * * @return The index of the first character. */ public int getBeginIndex() @@ -142,10 +142,10 @@ public class Segment implements Cloneable, CharacterIterator } /** - * Returns the end index for the segment (one position beyond the last - * character in the segment - note that this can be outside the range of the + * Returns the end index for the segment (one position beyond the last + * character in the segment - note that this can be outside the range of the * underlying character array). - * + * * @return The end index for the segment. */ public int getEndIndex() @@ -155,7 +155,7 @@ public class Segment implements Cloneable, CharacterIterator /** * Returns the index of the current character in the segment. - * + * * @return The index of the current character. */ public int getIndex() @@ -164,12 +164,12 @@ public class Segment implements Cloneable, CharacterIterator } /** - * Sets the current index to point to the last character in the segment and - * returns that character. If the segment contains zero characters, the - * current index is set to {@link #getEndIndex()} and this method returns + * Sets the current index to point to the last character in the segment and + * returns that character. If the segment contains zero characters, the + * current index is set to {@link #getEndIndex()} and this method returns * {@link #DONE}. - * - * @return The last character in the segment, or {@link #DONE} if the + * + * @return The last character in the segment, or {@link #DONE} if the * segment contains zero characters. */ public char last() @@ -179,20 +179,20 @@ public class Segment implements Cloneable, CharacterIterator current = getEndIndex(); return DONE; } - + current = getEndIndex() - 1; return array[current]; } /** - * Sets the current index to point to the next character in the segment and + * Sets the current index to point to the next character in the segment and * returns that character. If the next character position is past the end of * the segment, the index is set to {@link #getEndIndex()} and the method - * returns {@link #DONE}. If the segment contains zero characters, this + * returns {@link #DONE}. If the segment contains zero characters, this * method returns {@link #DONE}. - * + * * @return The next character in the segment or {@link #DONE} (if the next - * character position is past the end of the segment or if the + * character position is past the end of the segment or if the * segment contains zero characters). */ public char next() @@ -202,30 +202,30 @@ public class Segment implements Cloneable, CharacterIterator if ((current + 1) >= getEndIndex()) { - current = getEndIndex(); - return DONE; + current = getEndIndex(); + return DONE; } - + current++; return array[current]; } /** - * Sets the current index to point to the previous character in the segment - * and returns that character. If the current index is equal to - * {@link #getBeginIndex()}, or if the segment contains zero characters, this + * Sets the current index to point to the previous character in the segment + * and returns that character. If the current index is equal to + * {@link #getBeginIndex()}, or if the segment contains zero characters, this * method returns {@link #DONE}. - * - * @return The previous character in the segment or {@link #DONE} (if the - * current character position is at the beginning of the segment or + * + * @return The previous character in the segment or {@link #DONE} (if the + * current character position is at the beginning of the segment or * if the segment contains zero characters). */ public char previous() { if (count == 0 - || current == getBeginIndex()) + || current == getBeginIndex()) return DONE; - + current--; return array[current]; } @@ -233,20 +233,20 @@ public class Segment implements Cloneable, CharacterIterator /** * Sets the current index and returns the character at that position (or * {@link #DONE} if the index is equal to {@link #getEndIndex()}. - * + * * @param position the current position. - * + * * @return The character at the specified position, or - * {@link #DONE} if position is equal to + * {@link #DONE} if position is equal to * {@link #getEndIndex()}. - * + * * @throws IllegalArgumentException if position is not in the * range {@link #getBeginIndex()} to {@link #getEndIndex()}. */ public char setIndex(int position) { if (position < getBeginIndex() - || position > getEndIndex()) + || position > getEndIndex()) throw new IllegalArgumentException("position: " + position + ", beginIndex: " + getBeginIndex() + ", endIndex: " + getEndIndex() @@ -256,15 +256,15 @@ public class Segment implements Cloneable, CharacterIterator if (position == getEndIndex()) return DONE; - + return array[current]; } /** - * Returns a String containing the same characters as this + * Returns a String containing the same characters as this * Segment. - * - * @return A String containing the same characters as this + * + * @return A String containing the same characters as this * Segment. */ public String toString() @@ -274,19 +274,19 @@ public class Segment implements Cloneable, CharacterIterator /** * Sets the partial return flag. - * + * * @param p the new value of the flag. - * + * * @since 1.4 */ public void setPartialReturn(boolean p) { partialReturn = p; } - + /** * Returns the partial return flag. - * + * * @return The partial return flag. * @since 1.4 */ diff --git a/libjava/classpath/javax/swing/text/SimpleAttributeSet.java b/libjava/classpath/javax/swing/text/SimpleAttributeSet.java index 701fa8a..0229901 100644 --- a/libjava/classpath/javax/swing/text/SimpleAttributeSet.java +++ b/libjava/classpath/javax/swing/text/SimpleAttributeSet.java @@ -66,13 +66,13 @@ public class SimpleAttributeSet { tab = new Hashtable(); } - + /** * Creates a new SimpleAttributeSet with the same attributes * and resolve parent as the specified set. - * + * * @param a the attributes (null not permitted). - * + * * @throws NullPointerException if a is null. */ public SimpleAttributeSet(AttributeSet a) @@ -85,10 +85,10 @@ public class SimpleAttributeSet * Adds an attribute with the given name and value * to the set. If the set already contains an attribute with the given * name, the attribute value is updated. - * + * * @param name the attribute name (null not permitted). * @param value the value (null not permitted). - * + * * @throws NullPointerException if either argument is null. */ public void addAttribute(Object name, Object value) @@ -98,11 +98,11 @@ public class SimpleAttributeSet /** * Adds all the attributes from attributes to this set. - * + * * @param attributes the set of attributes to add (null not * permitted). - * - * @throws NullPointerException if attributes is + * + * @throws NullPointerException if attributes is * null. */ public void addAttributes(AttributeSet attributes) @@ -118,7 +118,7 @@ public class SimpleAttributeSet /** * Returns a clone of the attribute set. - * + * * @return A clone of the attribute set. */ public Object clone() @@ -159,7 +159,7 @@ public class SimpleAttributeSet return false; } } - + /** * Returns true if the given name and value are found in this AttributeSet. * Does not check the resolve parent. @@ -169,7 +169,7 @@ public class SimpleAttributeSet */ boolean containsAttributeLocally(Object name, Object value) { - return tab.containsKey(name) + return tab.containsKey(name) && tab.get(name).equals(value); } @@ -190,7 +190,7 @@ public class SimpleAttributeSet Object name = e.nextElement(); Object val = attributes.getAttribute(name); if (! containsAttribute(name, val)) - return false; + return false; } return true; } @@ -207,33 +207,33 @@ public class SimpleAttributeSet /** * Checks this set for equality with an arbitrary object. - * + * * @param obj the object (null permitted). - * + * * @return true if this set is equal to obj, and - * false otherwise. + * false otherwise. */ public boolean equals(Object obj) { - return + return (obj instanceof AttributeSet) && this.isEqual((AttributeSet) obj); } /** - * Returns the value of the specified attribute, or null if + * Returns the value of the specified attribute, or null if * there is no attribute with that name. If the attribute is not defined * directly in this set, the parent hierarchy (if there is one) will be * used. - * + * * @param name the attribute (null not permitted). - * + * * @throws NullPointerException if name is null. */ public Object getAttribute(Object name) { Object val = tab.get(name); - if (val != null) + if (val != null) return val; AttributeSet p = getResolveParent(); @@ -245,10 +245,10 @@ public class SimpleAttributeSet /** * Returns the number of attributes stored in this set, plus 1 if a parent - * has been specified (the reference to the parent is stored as a special + * has been specified (the reference to the parent is stored as a special * attribute). The attributes stored in the parent do NOT contribute * to the count. - * + * * @return The attribute count. */ public int getAttributeCount() @@ -258,7 +258,7 @@ public class SimpleAttributeSet /** * Returns an enumeration of the attribute names. - * + * * @return An enumeration of the attribute names. */ public Enumeration getAttributeNames() @@ -268,9 +268,9 @@ public class SimpleAttributeSet /** * Returns the resolving parent. - * + * * @return The resolving parent (possibly null). - * + * * @see #setResolveParent(AttributeSet) */ public AttributeSet getResolveParent() @@ -280,7 +280,7 @@ public class SimpleAttributeSet /** * Returns a hash code for this instance. - * + * * @return A hash code. */ public int hashCode() @@ -292,7 +292,7 @@ public class SimpleAttributeSet * Returns true if the given attribute is defined in this set, * and false otherwise. The parent attribute set is not * checked. - * + * * @param attrName the attribute name (null not permitted). */ public boolean isDefined(Object attrName) @@ -301,28 +301,28 @@ public class SimpleAttributeSet } /** - * Returns true if the set contains no attributes, and - * false otherwise. Note that the resolving parent is - * stored as an attribute, so this method will return false if + * Returns true if the set contains no attributes, and + * false otherwise. Note that the resolving parent is + * stored as an attribute, so this method will return false if * a resolving parent is set. - * - * @return true if the set contains no attributes, and + * + * @return true if the set contains no attributes, and * false otherwise. */ public boolean isEmpty() { - return tab.isEmpty(); + return tab.isEmpty(); } /** * Returns true if the given set has the same number of attributes * as this set and containsAttributes(attr) returns * true. - * + * * @param attr the attribute set (null not permitted). - * + * * @return A boolean. - * + * * @throws NullPointerException if attr is null. */ public boolean isEqual(AttributeSet attr) @@ -330,14 +330,14 @@ public class SimpleAttributeSet return getAttributeCount() == attr.getAttributeCount() && this.containsAttributes(attr); } - + /** - * Removes the attribute with the specified name, if this + * Removes the attribute with the specified name, if this * attribute is defined. This method will only remove an attribute from * this set, not from the resolving parent. - * + * * @param name the attribute name (null not permitted). - * + * * @throws NullPointerException if name is null. */ public void removeAttribute(Object name) @@ -346,13 +346,13 @@ public class SimpleAttributeSet } /** - * Removes attributes from this set if they are found in the + * Removes attributes from this set if they are found in the * given set. Only attributes whose key AND value are removed. - * Removes attributes only from this set, not from the resolving parent. - * Since the resolving parent is stored as an attribute, if + * Removes attributes only from this set, not from the resolving parent. + * Since the resolving parent is stored as an attribute, if * attributes has the same resolving parent as this set, the * parent will be removed from this set. - * + * * @param attributes the attributes (null not permitted). */ public void removeAttributes(AttributeSet attributes) @@ -363,16 +363,16 @@ public class SimpleAttributeSet Object name = e.nextElement(); Object val = attributes.getAttribute(name); if (containsAttributeLocally(name, val)) - removeAttribute(name); + removeAttribute(name); } } /** * Removes the attributes listed in names. - * + * * @param names the attribute names (null not permitted). - * - * @throws NullPointerException if names is null + * + * @throws NullPointerException if names is null * or contains any null values. */ public void removeAttributes(Enumeration names) @@ -380,7 +380,7 @@ public class SimpleAttributeSet while (names.hasMoreElements()) { removeAttribute(names.nextElement()); - } + } } /** @@ -388,28 +388,28 @@ public class SimpleAttributeSet * it is not found in this set, then the resolving parent is also used for * the lookup. *

    - * Note that the parent is stored as an attribute, and will contribute 1 to - * the count returned by {@link #getAttributeCount()}. - * + * Note that the parent is stored as an attribute, and will contribute 1 to + * the count returned by {@link #getAttributeCount()}. + * * @param parent the parent attribute set (null not permitted). - * + * * @throws NullPointerException if parent is null. - * + * * @see #setResolveParent(AttributeSet) */ public void setResolveParent(AttributeSet parent) { addAttribute(ResolveAttribute, parent); } - + /** * Returns a string representation of this instance, typically used for * debugging purposes. - * + * * @return A string representation of this instance. */ public String toString() { return tab.toString(); - } + } } diff --git a/libjava/classpath/javax/swing/text/StringContent.java b/libjava/classpath/javax/swing/text/StringContent.java index 4a3f9d7..a017de1 100644 --- a/libjava/classpath/javax/swing/text/StringContent.java +++ b/libjava/classpath/javax/swing/text/StringContent.java @@ -54,15 +54,15 @@ import javax.swing.undo.UndoableEdit; * An implementation of the AbstractDocument.Content * interface useful for small documents or debugging. The character * content is a simple character array. It's not really efficient. - * + * *

    Do not use this class for large size.

    */ -public final class StringContent +public final class StringContent implements AbstractDocument.Content, Serializable { /** * Stores a reference to a mark that can be resetted to the original value - * after a mark has been moved. This is used for undoing actions. + * after a mark has been moved. This is used for undoing actions. */ private class UndoPosRef { @@ -102,7 +102,7 @@ public final class StringContent * the actual offset of the position. This is pulled out of the * GapContentPosition object so that the mark and position can be handled * independently, and most important, so that the StickyPosition can - * be garbage collected while we still hold a reference to the Mark object. + * be garbage collected while we still hold a reference to the Mark object. */ private class Mark { @@ -148,7 +148,7 @@ public final class StringContent private class InsertUndo extends AbstractUndoableEdit { private int start; - + private int length; private String redoContent; @@ -177,7 +177,7 @@ public final class StringContent throw new CannotUndoException(); } } - + public void redo() { super.redo(); @@ -303,8 +303,8 @@ public final class StringContent /** * Creates a new instance containing the string "\n". - * - * @param initialLength the initial length of the underlying character + * + * @param initialLength the initial length of the underlying character * array used to store the content. */ public StringContent(int initialLength) @@ -337,10 +337,10 @@ public final class StringContent * Creates a position reference for the character at the given offset. The * position offset will be automatically updated when new characters are * inserted into or removed from the content. - * + * * @param offset the character offset. - * - * @throws BadLocationException if offset is outside the bounds of the + * + * @throws BadLocationException if offset is outside the bounds of the * content. */ public Position createPosition(int offset) throws BadLocationException @@ -351,26 +351,26 @@ public final class StringContent StickyPosition sp = new StickyPosition(offset); return sp; } - + /** * Returns the length of the string content, including the '\n' character at * the end. - * + * * @return The length of the string content. */ public int length() { return count; } - + /** - * Inserts str at the given position and returns an + * Inserts str at the given position and returns an * {@link UndoableEdit} that enables undo/redo support. - * - * @param where the insertion point (must be less than + * + * @param where the insertion point (must be less than * length()). * @param str the string to insert (null not permitted). - * + * * @return An object that can undo the insertion. */ public UndoableEdit insertString(int where, String str) @@ -402,23 +402,23 @@ public final class StringContent InsertUndo iundo = new InsertUndo(where, insert.length); return iundo; } - + /** - * Removes the specified range of characters and returns an + * Removes the specified range of characters and returns an * {@link UndoableEdit} that enables undo/redo support. - * + * * @param where the starting index. * @param nitems the number of characters. - * + * * @return An object that can undo the removal. - * + * * @throws BadLocationException if the character range extends outside the * bounds of the content OR includes the last character. */ public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); - RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, + RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); replace(where, nitems, EMPTY); @@ -464,15 +464,15 @@ public final class StringContent } /** - * Returns a new String containing the characters in the + * Returns a new String containing the characters in the * specified range. - * + * * @param where the start index. * @param len the number of characters. - * + * * @return A string. - * - * @throws BadLocationException if the requested range of characters extends + * + * @throws BadLocationException if the requested range of characters extends * outside the bounds of the content. */ public String getString(int where, int len) throws BadLocationException @@ -482,21 +482,21 @@ public final class StringContent checkLocation(where, len); return new String(this.content, where, len); } - + /** - * Updates txt to contain a direct reference to the underlying + * Updates txt to contain a direct reference to the underlying * character array. - * + * * @param where the index of the first character. * @param len the number of characters. - * @param txt a carrier for the return result (null not + * @param txt a carrier for the return result (null not * permitted). - * - * @throws BadLocationException if the requested character range is not + * + * @throws BadLocationException if the requested character range is not * within the bounds of the content. * @throws NullPointerException if txt is null. */ - public void getChars(int where, int len, Segment txt) + public void getChars(int where, int len, Segment txt) throws BadLocationException { if (where + len > count) @@ -523,13 +523,13 @@ public final class StringContent } } - /** + /** * A utility method that checks the validity of the specified character * range. - * + * * @param where the first character in the range. * @param len the number of characters in the range. - * + * * @throws BadLocationException if the specified range is not within the * bounds of the content. */ @@ -567,4 +567,3 @@ public final class StringContent } } } - diff --git a/libjava/classpath/javax/swing/text/Style.java b/libjava/classpath/javax/swing/text/Style.java index 851ac02..8010828 100644 --- a/libjava/classpath/javax/swing/text/Style.java +++ b/libjava/classpath/javax/swing/text/Style.java @@ -1,4 +1,4 @@ -/* Style.java -- +/* Style.java -- Copyright (C) 2002, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. diff --git a/libjava/classpath/javax/swing/text/StyleConstants.java b/libjava/classpath/javax/swing/text/StyleConstants.java index 4e5005c..bdc6371 100644 --- a/libjava/classpath/javax/swing/text/StyleConstants.java +++ b/libjava/classpath/javax/swing/text/StyleConstants.java @@ -45,35 +45,35 @@ import java.util.ArrayList; import javax.swing.Icon; /** - * Represents standard attribute keys. This class also contains a set of - * useful static utility methods for querying and populating an + * Represents standard attribute keys. This class also contains a set of + * useful static utility methods for querying and populating an * {@link AttributeSet}. - * + * * @since 1.2 */ public class StyleConstants { - /** - * A value representing left alignment for the - * {@link ParagraphConstants#Alignment} attribute. + /** + * A value representing left alignment for the + * {@link ParagraphConstants#Alignment} attribute. */ public static final int ALIGN_LEFT = 0; - /** - * A value representing center alignment for the - * {@link ParagraphConstants#Alignment} attribute. + /** + * A value representing center alignment for the + * {@link ParagraphConstants#Alignment} attribute. */ public static final int ALIGN_CENTER = 1; - /** - * A value representing right alignment for the - * {@link ParagraphConstants#Alignment} attribute. + /** + * A value representing right alignment for the + * {@link ParagraphConstants#Alignment} attribute. */ public static final int ALIGN_RIGHT = 2; - /** - * A value representing ful justification for the - * {@link ParagraphConstants#Alignment} attribute. + /** + * A value representing ful justification for the + * {@link ParagraphConstants#Alignment} attribute. */ public static final int ALIGN_JUSTIFIED = 3; @@ -82,72 +82,72 @@ public class StyleConstants /** An alias for {@link CharacterConstants#BidiLevel}. */ public static final Object BidiLevel = CharacterConstants.BidiLevel; - + /** An alias for {@link CharacterConstants#Bold}. */ public static final Object Bold = CharacterConstants.Bold; - + /** An alias for {@link CharacterConstants#ComponentAttribute}. */ - public static final Object ComponentAttribute + public static final Object ComponentAttribute = CharacterConstants.ComponentAttribute; - + /** An alias for {@link CharacterConstants#Family}. */ public static final Object Family = CharacterConstants.Family; - + /** An alias for {@link CharacterConstants#Family}. */ - public static final Object FontFamily = CharacterConstants.Family; - + public static final Object FontFamily = CharacterConstants.Family; + /** An alias for {@link CharacterConstants#Size}. */ public static final Object FontSize = CharacterConstants.Size; - + /** An alias for {@link CharacterConstants#Foreground}. */ public static final Object Foreground = CharacterConstants.Foreground; - + /** An alias for {@link CharacterConstants#IconAttribute}. */ public static final Object IconAttribute = CharacterConstants.IconAttribute; - + /** An alias for {@link CharacterConstants#Italic}. */ public static final Object Italic = CharacterConstants.Italic; - + /** An alias for {@link CharacterConstants#Size}. */ public static final Object Size = CharacterConstants.Size; - + /** An alias for {@link CharacterConstants#StrikeThrough}. */ public static final Object StrikeThrough = CharacterConstants.StrikeThrough; - + /** An alias for {@link CharacterConstants#Subscript}. */ public static final Object Subscript = CharacterConstants.Subscript; - + /** An alias for {@link CharacterConstants#Superscript}. */ public static final Object Superscript = CharacterConstants.Superscript; - + /** An alias for {@link CharacterConstants#Underline}. */ public static final Object Underline = CharacterConstants.Underline; /** An alias for {@link ParagraphConstants#Alignment}. */ public static final Object Alignment = ParagraphConstants.Alignment; - + /** An alias for {@link ParagraphConstants#FirstLineIndent}. */ - public static final Object FirstLineIndent + public static final Object FirstLineIndent = ParagraphConstants.FirstLineIndent; - + /** An alias for {@link ParagraphConstants#LeftIndent}. */ public static final Object LeftIndent = ParagraphConstants.LeftIndent; - + /** An alias for {@link ParagraphConstants#LineSpacing}. */ public static final Object LineSpacing = ParagraphConstants.LineSpacing; - + /** An alias for {@link ParagraphConstants#Orientation}. */ public static final Object Orientation = ParagraphConstants.Orientation; - + /** An alias for {@link ParagraphConstants#RightIndent}. */ public static final Object RightIndent = ParagraphConstants.RightIndent; - + /** An alias for {@link ParagraphConstants#SpaceAbove}. */ public static final Object SpaceAbove = ParagraphConstants.SpaceAbove; - + /** An alias for {@link ParagraphConstants#SpaceBelow}. */ public static final Object SpaceBelow = ParagraphConstants.SpaceBelow; - + /** An alias for {@link ParagraphConstants#TabSet}. */ public static final Object TabSet = ParagraphConstants.TabSet; @@ -155,13 +155,13 @@ public class StyleConstants public static final String IconElementName = "icon"; - public static final Object ComposedTextAttribute + public static final Object ComposedTextAttribute = new StyleConstants("composed text"); - + public static final Object ModelAttribute = new StyleConstants("model"); - + public static final Object NameAttribute = new StyleConstants("name"); - + public static final Object ResolveAttribute = new StyleConstants("resolver"); /** @@ -174,7 +174,7 @@ public class StyleConstants // Package-private to avoid accessor constructor for use by // subclasses. - StyleConstants(String k) + StyleConstants(String k) { keyname = k; if (keys == null) @@ -184,7 +184,7 @@ public class StyleConstants /** * Returns a string representation of the attribute key. - * + * * @return A string representation of the attribute key. */ public String toString() @@ -193,15 +193,15 @@ public class StyleConstants } /** - * Returns the alignment specified in the given attributes, or + * Returns the alignment specified in the given attributes, or * {@link #ALIGN_LEFT} if no alignment is specified. - * + * * @param a the attribute set (null not permitted). - * - * @return The alignment (typically one of {@link #ALIGN_LEFT}, - * {@link #ALIGN_RIGHT}, {@link #ALIGN_CENTER} or + * + * @return The alignment (typically one of {@link #ALIGN_LEFT}, + * {@link #ALIGN_RIGHT}, {@link #ALIGN_CENTER} or * {@link #ALIGN_JUSTIFIED}). - * + * * @see #setAlignment(MutableAttributeSet, int) */ public static int getAlignment(AttributeSet a) @@ -210,38 +210,38 @@ public class StyleConstants if (i != null) return i.intValue(); else - return ALIGN_LEFT; - } + return ALIGN_LEFT; + } /** * Returns the background color specified in the given attributes, or * {@link Color#BLACK} if no background color is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The background color. - * + * * @see #setBackground(MutableAttributeSet, Color) */ public static Color getBackground(AttributeSet a) { Color c = (Color) a.getAttribute(Background); - if (c != null) + if (c != null) return c; else return Color.BLACK; - } + } /** - * Returns the bidi level specified in the given attributes, or + * Returns the bidi level specified in the given attributes, or * 0 if no bidi level is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The bidi level. - * + * * @see #setBidiLevel(MutableAttributeSet, int) - */ + */ public static int getBidiLevel(AttributeSet a) { Integer i = (Integer) a.getAttribute(BidiLevel); @@ -249,18 +249,18 @@ public class StyleConstants return i.intValue(); else return 0; - } + } /** - * Returns the component specified in the given attributes, or + * Returns the component specified in the given attributes, or * null if no component is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The component (possibly null). - * + * * @see #setComponent(MutableAttributeSet, Component) - */ + */ public static Component getComponent(AttributeSet a) { Component c = (Component) a.getAttribute(ComponentAttribute); @@ -268,18 +268,18 @@ public class StyleConstants return c; else return null; - } + } /** - * Returns the indentation specified in the given attributes, or + * Returns the indentation specified in the given attributes, or * 0.0f if no indentation is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The indentation. - * + * * @see #setFirstLineIndent(MutableAttributeSet, float) - */ + */ public static float getFirstLineIndent(AttributeSet a) { Float f = (Float) a.getAttribute(FirstLineIndent); @@ -287,18 +287,18 @@ public class StyleConstants return f.floatValue(); else return 0.0f; - } + } /** - * Returns the font family specified in the given attributes, or + * Returns the font family specified in the given attributes, or * Monospaced if no font family is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The font family. - * + * * @see #setFontFamily(MutableAttributeSet, String) - */ + */ public static String getFontFamily(AttributeSet a) { String ff = (String) a.getAttribute(FontFamily); @@ -306,18 +306,18 @@ public class StyleConstants return ff; else return "Monospaced"; - } + } /** - * Returns the font size specified in the given attributes, or + * Returns the font size specified in the given attributes, or * 12 if no font size is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The font size. - * + * * @see #setFontSize(MutableAttributeSet, int) - */ + */ public static int getFontSize(AttributeSet a) { Integer i = (Integer) a.getAttribute(FontSize); @@ -325,16 +325,16 @@ public class StyleConstants return i.intValue(); else return 12; - } + } /** * Returns the foreground color specified in the given attributes, or * {@link Color#BLACK} if no foreground color is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The foreground color. - * + * * @see #setForeground(MutableAttributeSet, Color) */ public static Color getForeground(AttributeSet a) @@ -344,33 +344,33 @@ public class StyleConstants return c; else return Color.BLACK; - } + } /** - * Returns the icon specified in the given attributes, or + * Returns the icon specified in the given attributes, or * null if no icon is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The icon (possibly null). - * + * * @see #setIcon(MutableAttributeSet, Icon) - */ + */ public static Icon getIcon(AttributeSet a) { return (Icon) a.getAttribute(IconAttribute); - } + } /** - * Returns the left indentation specified in the given attributes, or + * Returns the left indentation specified in the given attributes, or * 0.0f if no left indentation is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The left indentation. - * + * * @see #setLeftIndent(MutableAttributeSet, float) - */ + */ public static float getLeftIndent(AttributeSet a) { Float f = (Float) a.getAttribute(LeftIndent); @@ -378,18 +378,18 @@ public class StyleConstants return f.floatValue(); else return 0.0f; - } + } /** - * Returns the line spacing specified in the given attributes, or + * Returns the line spacing specified in the given attributes, or * 0.0f if no line spacing is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The line spacing. - * + * * @see #setLineSpacing(MutableAttributeSet, float) - */ + */ public static float getLineSpacing(AttributeSet a) { Float f = (Float) a.getAttribute(LineSpacing); @@ -397,18 +397,18 @@ public class StyleConstants return f.floatValue(); else return 0.0f; - } + } /** - * Returns the right indentation specified in the given attributes, or + * Returns the right indentation specified in the given attributes, or * 0.0f if no right indentation is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The right indentation. - * + * * @see #setRightIndent(MutableAttributeSet, float) - */ + */ public static float getRightIndent(AttributeSet a) { Float f = (Float) a.getAttribute(RightIndent); @@ -416,37 +416,37 @@ public class StyleConstants return f.floatValue(); else return 0.0f; - } + } /** - * Returns the 'space above' specified in the given attributes, or + * Returns the 'space above' specified in the given attributes, or * 0.0f if no 'space above' is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The 'space above'. - * + * * @see #setSpaceAbove(MutableAttributeSet, float) - */ + */ public static float getSpaceAbove(AttributeSet a) { Float f = (Float) a.getAttribute(SpaceAbove); if (f != null) return f.floatValue(); - else + else return 0.0f; - } + } /** - * Returns the 'space below' specified in the given attributes, or + * Returns the 'space below' specified in the given attributes, or * 0.0f if no 'space below' is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The 'space below'. - * + * * @see #setSpaceBelow(MutableAttributeSet, float) - */ + */ public static float getSpaceBelow(AttributeSet a) { Float f = (Float) a.getAttribute(SpaceBelow); @@ -454,34 +454,34 @@ public class StyleConstants return f.floatValue(); else return 0.0f; - } + } /** - * Returns the tab set specified in the given attributes, or + * Returns the tab set specified in the given attributes, or * null if no tab set is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The tab set. - * + * * @see #setTabSet(MutableAttributeSet, javax.swing.text.TabSet) - */ + */ public static javax.swing.text.TabSet getTabSet(AttributeSet a) { // I'm guessing that the fully qualified class name is to differentiate // between the TabSet class and the TabSet (attribute) instance on some // compiler... return (javax.swing.text.TabSet) a.getAttribute(StyleConstants.TabSet); - } + } /** - * Returns the value of the bold flag in the given attributes, or + * Returns the value of the bold flag in the given attributes, or * false if no bold flag is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The bold flag. - * + * * @see #setBold(MutableAttributeSet, boolean) */ public static boolean isBold(AttributeSet a) @@ -491,16 +491,16 @@ public class StyleConstants return b.booleanValue(); else return false; - } + } /** - * Returns the value of the italic flag in the given attributes, or + * Returns the value of the italic flag in the given attributes, or * false if no italic flag is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The italic flag. - * + * * @see #setItalic(MutableAttributeSet, boolean) */ public static boolean isItalic(AttributeSet a) @@ -510,16 +510,16 @@ public class StyleConstants return b.booleanValue(); else return false; - } + } /** - * Returns the value of the strike-through flag in the given attributes, or + * Returns the value of the strike-through flag in the given attributes, or * false if no strike-through flag is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The strike-through flag. - * + * * @see #setStrikeThrough(MutableAttributeSet, boolean) */ public static boolean isStrikeThrough(AttributeSet a) @@ -529,16 +529,16 @@ public class StyleConstants return b.booleanValue(); else return false; - } + } /** - * Returns the value of the subscript flag in the given attributes, or + * Returns the value of the subscript flag in the given attributes, or * false if no subscript flag is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The subscript flag. - * + * * @see #setSubscript(MutableAttributeSet, boolean) */ public static boolean isSubscript(AttributeSet a) @@ -548,16 +548,16 @@ public class StyleConstants return b.booleanValue(); else return false; - } + } /** - * Returns the value of the superscript flag in the given attributes, or + * Returns the value of the superscript flag in the given attributes, or * false if no superscript flag is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The superscript flag. - * + * * @see #setSuperscript(MutableAttributeSet, boolean) */ public static boolean isSuperscript(AttributeSet a) @@ -565,18 +565,18 @@ public class StyleConstants Boolean b = (Boolean) a.getAttribute(Superscript); if (b != null) return b.booleanValue(); - else + else return false; - } + } /** - * Returns the value of the underline flag in the given attributes, or + * Returns the value of the underline flag in the given attributes, or * false if no underline flag is specified. - * + * * @param a the attribute set (null not permitted). - * + * * @return The underline flag. - * + * * @see #setUnderline(MutableAttributeSet, boolean) */ public static boolean isUnderline(AttributeSet a) @@ -586,140 +586,140 @@ public class StyleConstants return b.booleanValue(); else return false; - } + } /** * Adds an alignment attribute to the specified set. - * + * * @param a the attribute set (null not permitted). - * @param align the alignment (typically one of - * {@link StyleConstants#ALIGN_LEFT}, - * {@link StyleConstants#ALIGN_RIGHT}, - * {@link StyleConstants#ALIGN_CENTER} or + * @param align the alignment (typically one of + * {@link StyleConstants#ALIGN_LEFT}, + * {@link StyleConstants#ALIGN_RIGHT}, + * {@link StyleConstants#ALIGN_CENTER} or * {@link StyleConstants#ALIGN_JUSTIFIED}). - * + * * @throws NullPointerException if a is null. - * + * * @see #getAlignment(AttributeSet) */ public static void setAlignment(MutableAttributeSet a, int align) { a.addAttribute(Alignment, new Integer(align)); - } + } /** * Adds a background attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param bg the background (null not permitted). - * + * * @throws NullPointerException if either argument is null. - * + * * @see #getBackground(AttributeSet) */ public static void setBackground(MutableAttributeSet a, Color bg) { a.addAttribute(Background, bg); - } + } /** * Adds a bidi-level attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param lev the level. - * + * * @throws NullPointerException if a is null. - * + * * @see #getBidiLevel(AttributeSet) */ public static void setBidiLevel(MutableAttributeSet a, int lev) { a.addAttribute(BidiLevel, new Integer(lev)); - } + } /** * Adds a bold attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param b the new value of the bold attribute. - * + * * @throws NullPointerException if a is null. - * + * * @see #isBold(AttributeSet) */ public static void setBold(MutableAttributeSet a, boolean b) { a.addAttribute(Bold, Boolean.valueOf(b)); - } - + } + /** * Adds a component attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param c the component (null not permitted). - * + * * @throws NullPointerException if either argument is null. - * + * * @see #getComponent(AttributeSet) */ public static void setComponent(MutableAttributeSet a, Component c) { a.addAttribute(ComponentAttribute, c); - } + } /** * Adds a first line indentation attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param i the indentation. - * + * * @throws NullPointerException if a is null. - * + * * @see #getFirstLineIndent(AttributeSet) */ public static void setFirstLineIndent(MutableAttributeSet a, float i) { a.addAttribute(FirstLineIndent, new Float(i)); - } + } /** * Adds a font family attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param fam the font family name (null not permitted). - * + * * @throws NullPointerException if either argument is null. - * + * * @see #getFontFamily(AttributeSet) */ public static void setFontFamily(MutableAttributeSet a, String fam) { a.addAttribute(FontFamily, fam); - } + } /** * Adds a font size attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param s the font size (in points). - * + * * @throws NullPointerException if a is null. - * + * * @see #getFontSize(AttributeSet) */ public static void setFontSize(MutableAttributeSet a, int s) { a.addAttribute(FontSize, new Integer(s)); - } + } /** * Adds a foreground color attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param fg the foreground color (null not permitted). - * + * * @throws NullPointerException if either argument is null. - * + * * @see #getForeground(AttributeSet) */ public static void setForeground(MutableAttributeSet a, Color fg) @@ -729,12 +729,12 @@ public class StyleConstants /** * Adds an icon attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param c the icon (null not permitted). - * + * * @throws NullPointerException if either argument is null. - * + * * @see #getIcon(AttributeSet) */ public static void setIcon(MutableAttributeSet a, Icon c) @@ -742,174 +742,174 @@ public class StyleConstants a.addAttribute(AbstractDocument.ElementNameAttribute, IconElementName); a.addAttribute(IconAttribute, c); } - + /** * Adds an italic attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param b the new value of the italic attribute. - * + * * @throws NullPointerException if a is null. - * + * * @see #isItalic(AttributeSet) */ public static void setItalic(MutableAttributeSet a, boolean b) { a.addAttribute(Italic, Boolean.valueOf(b)); } - + /** * Adds a left indentation attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param i the indentation. - * + * * @throws NullPointerException if a is null. - * + * * @see #getLeftIndent(AttributeSet) */ public static void setLeftIndent(MutableAttributeSet a, float i) { a.addAttribute(LeftIndent, new Float(i)); - } + } /** * Adds a line spacing attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param i the line spacing. - * + * * @throws NullPointerException if a is null. - * + * * @see #getLineSpacing(AttributeSet) */ public static void setLineSpacing(MutableAttributeSet a, float i) { a.addAttribute(LineSpacing, new Float(i)); - } + } /** * Adds a right indentation attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param i the right indentation. - * + * * @throws NullPointerException if a is null. - * + * * @see #getRightIndent(AttributeSet) */ public static void setRightIndent(MutableAttributeSet a, float i) { a.addAttribute(RightIndent, new Float(i)); - } + } /** * Adds a 'space above' attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param i the space above attribute value. - * + * * @throws NullPointerException if a is null. - * + * * @see #getSpaceAbove(AttributeSet) */ public static void setSpaceAbove(MutableAttributeSet a, float i) { a.addAttribute(SpaceAbove, new Float(i)); - } + } /** * Adds a 'space below' attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param i the space below attribute value. - * + * * @throws NullPointerException if a is null. - * + * * @see #getSpaceBelow(AttributeSet) */ public static void setSpaceBelow(MutableAttributeSet a, float i) { a.addAttribute(SpaceBelow, new Float(i)); - } + } /** * Adds a strike-through attribue to the specified set. - * + * * @param a the attribute set (null not permitted). * @param b the strike-through attribute value. - * + * * @throws NullPointerException if a is null. - * + * * @see #isStrikeThrough(AttributeSet) */ public static void setStrikeThrough(MutableAttributeSet a, boolean b) { a.addAttribute(StrikeThrough, Boolean.valueOf(b)); - } + } /** * Adds a subscript attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param b the subscript attribute value. - * + * * @throws NullPointerException if a is null. - * + * * @see #isSubscript(AttributeSet) */ public static void setSubscript(MutableAttributeSet a, boolean b) { a.addAttribute(Subscript, Boolean.valueOf(b)); - } + } /** * Adds a superscript attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param b the superscript attribute value. - * + * * @throws NullPointerException if a is null. - * + * * @see #isSuperscript(AttributeSet) */ public static void setSuperscript(MutableAttributeSet a, boolean b) { a.addAttribute(Superscript, Boolean.valueOf(b)); - } + } /** * Adds a {@link TabSet} attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param tabs the tab set (null not permitted). - * + * * @throws NullPointerException if either argument is null. - * + * * @see #getTabSet(AttributeSet) */ - public static void setTabSet(MutableAttributeSet a, + public static void setTabSet(MutableAttributeSet a, javax.swing.text.TabSet tabs) { a.addAttribute(StyleConstants.TabSet, tabs); - } + } /** * Adds an underline attribute to the specified set. - * + * * @param a the attribute set (null not permitted). * @param b the underline attribute value. - * + * * @throws NullPointerException if a is null. - * + * * @see #isUnderline(AttributeSet) */ public static void setUnderline(MutableAttributeSet a, boolean b) { a.addAttribute(Underline, Boolean.valueOf(b)); - } + } - // The remainder are so-called "typesafe enumerations" which + // The remainder are so-called "typesafe enumerations" which // alias subsets of the above constants. /** @@ -921,56 +921,56 @@ public class StyleConstants { /** * Private constructor prevents new instances being created. - * + * * @param k the key name. */ - private CharacterConstants(String k) + private CharacterConstants(String k) { super(k); } - + /** An alias for {@link ColorConstants#Background}. */ public static final Object Background = ColorConstants.Background; - + /** A key for the bidi level character attribute. */ public static final Object BidiLevel = new CharacterConstants("bidiLevel"); - + /** An alias for {@link FontConstants#Bold}. */ public static final Object Bold = FontConstants.Bold; - + /** A key for the component character attribute. */ - public static final Object ComponentAttribute + public static final Object ComponentAttribute = new CharacterConstants("component"); - + /** An alias for {@link FontConstants#Family}. */ public static final Object Family = FontConstants.Family; - + /** An alias for {@link FontConstants#Size}. */ public static final Object Size = FontConstants.Size; - + /** An alias for {@link ColorConstants#Foreground}. */ public static final Object Foreground = ColorConstants.Foreground; - + /** A key for the icon character attribute. */ public static final Object IconAttribute = new CharacterConstants("icon"); - + /** A key for the italic character attribute. */ public static final Object Italic = FontConstants.Italic; - + /** A key for the strike through character attribute. */ - public static final Object StrikeThrough + public static final Object StrikeThrough = new CharacterConstants("strikethrough"); - + /** A key for the subscript character attribute. */ public static final Object Subscript = new CharacterConstants("subscript"); - + /** A key for the superscript character attribute. */ - public static final Object Superscript + public static final Object Superscript = new CharacterConstants("superscript"); - + /** A key for the underline character attribute. */ public static final Object Underline = new CharacterConstants("underline"); - + } /** @@ -982,14 +982,14 @@ public class StyleConstants { /** * Private constructor prevents new instances being created. - * + * * @param k the key name. */ - private ColorConstants(String k) + private ColorConstants(String k) { super(k); } - + /** A key for the foreground color attribute. */ public static final Object Foreground = new ColorConstants("foreground"); @@ -1006,23 +1006,23 @@ public class StyleConstants { /** * Private constructor prevents new instances being created. - * + * * @param k the key name. */ - private FontConstants(String k) + private FontConstants(String k) { super(k); } - + /** A key for the bold font attribute. */ public static final Object Bold = new FontConstants("bold"); /** A key for the family font attribute. */ public static final Object Family = new FontConstants("family"); - + /** A key for the italic font attribute. */ public static final Object Italic = new FontConstants("italic"); - + /** A key for the size font attribute. */ public static final Object Size = new FontConstants("size"); } @@ -1036,48 +1036,48 @@ public class StyleConstants { /** * Private constructor prevents new instances being created. - * + * * @param k the key name. */ - private ParagraphConstants(String k) + private ParagraphConstants(String k) { super(k); } - + /** A key for the alignment paragraph attribute. */ public static final Object Alignment = new ParagraphConstants("Alignment"); /** A key for the first line indentation paragraph attribute. */ - public static final Object FirstLineIndent + public static final Object FirstLineIndent = new ParagraphConstants("FirstLineIndent"); - + /** A key for the left indentation paragraph attribute. */ - public static final Object LeftIndent + public static final Object LeftIndent = new ParagraphConstants("LeftIndent"); - + /** A key for the line spacing paragraph attribute. */ - public static final Object LineSpacing + public static final Object LineSpacing = new ParagraphConstants("LineSpacing"); - + /** A key for the orientation paragraph attribute. */ - public static final Object Orientation + public static final Object Orientation = new ParagraphConstants("Orientation"); - + /** A key for the right indentation paragraph attribute. */ - public static final Object RightIndent + public static final Object RightIndent = new ParagraphConstants("RightIndent"); - + /** A key for the 'space above' paragraph attribute. */ - public static final Object SpaceAbove + public static final Object SpaceAbove = new ParagraphConstants("SpaceAbove"); - + /** A key for the 'space below' paragraph attribute. */ - public static final Object SpaceBelow + public static final Object SpaceBelow = new ParagraphConstants("SpaceBelow"); - + /** A key for the tabset paragraph attribute. */ public static final Object TabSet = new ParagraphConstants("TabSet"); - + } } diff --git a/libjava/classpath/javax/swing/text/StyleContext.java b/libjava/classpath/javax/swing/text/StyleContext.java index 4dded0d..2953988 100644 --- a/libjava/classpath/javax/swing/text/StyleContext.java +++ b/libjava/classpath/javax/swing/text/StyleContext.java @@ -60,7 +60,7 @@ import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import javax.swing.event.EventListenerList; -public class StyleContext +public class StyleContext implements Serializable, AbstractDocument.AttributeContext { /** The serialization UID (compatible with JDK1.5). */ @@ -74,7 +74,7 @@ public class StyleContext protected transient ChangeEvent changeEvent; protected EventListenerList listenerList; - + private transient AttributeSet attributes; public NamedStyle() @@ -115,12 +115,12 @@ public class StyleContext { listenerList.add(ChangeListener.class, l); } - + public void removeChangeListener(ChangeListener l) { listenerList.remove(ChangeListener.class, l); } - + public T[] getListeners(Class listenerType) { return listenerList.getListeners(listenerType); @@ -159,7 +159,7 @@ public class StyleContext { return attributes.containsAttribute(name, value); } - + public boolean containsAttributes(AttributeSet attrs) { return attributes.containsAttributes(attrs); @@ -172,7 +172,7 @@ public class StyleContext copy.attributes = attributes.copyAttributes(); return copy; } - + public Object getAttribute(Object attrName) { return attributes.getAttribute(attrName); @@ -187,10 +187,10 @@ public class StyleContext { return attributes.getAttributeNames(); } - + public boolean isDefined(Object attrName) { - return attributes.isDefined(attrName); + return attributes.isDefined(attrName); } public boolean isEqual(AttributeSet attr) @@ -219,7 +219,7 @@ public class StyleContext public AttributeSet getResolveParent() { - return attributes.getResolveParent(); + return attributes.getResolveParent(); } public void setResolveParent(AttributeSet parent) @@ -229,7 +229,7 @@ public class StyleContext else removeAttribute(StyleConstants.ResolveAttribute); } - + public String toString() { return "NamedStyle:" + getName() + " " + attributes; @@ -250,7 +250,7 @@ public class StyleContext readAttributeSet(s, this); } } - + public class SmallAttributeSet implements AttributeSet { @@ -321,7 +321,7 @@ public class StyleContext } return eq; } - + public Object getAttribute(Object key) { Object att = null; @@ -334,7 +334,7 @@ public class StyleContext att = attrs[i + 1]; } - // Check the resolve parent, unless we're looking for the + // Check the resolve parent, unless we're looking for the // ResolveAttribute, which must not be looked up if (att == null) { @@ -342,7 +342,7 @@ public class StyleContext if (parent != null) att = parent.getAttribute(key); } - + return att; } @@ -352,18 +352,18 @@ public class StyleContext } public Enumeration getAttributeNames() - { - return new Enumeration() + { + return new Enumeration() { int i = 0; - public boolean hasMoreElements() - { - return i < attrs.length; + public boolean hasMoreElements() + { + return i < attrs.length; } - public Object nextElement() - { - i += 2; - return attrs[i-2]; + public Object nextElement() + { + i += 2; + return attrs[i-2]; } }; } @@ -387,7 +387,7 @@ public class StyleContext } return false; } - + public boolean isEqual(AttributeSet attr) { boolean eq; @@ -400,7 +400,7 @@ public class StyleContext && this.containsAttributes(attr); return eq; } - + public String toString() { StringBuilder sb = new StringBuilder(); @@ -446,7 +446,7 @@ public class StyleContext * The name of the default style. */ public static final String DEFAULT_STYLE = "default"; - + static Hashtable sharedAttributeSets = new Hashtable(); static Hashtable sharedFonts = new Hashtable(); @@ -486,7 +486,7 @@ public class StyleContext { return new SmallAttributeSet(a); } - + protected MutableAttributeSet createLargeAttributeSet(AttributeSet a) { return new SimpleAttributeSet(a); @@ -506,7 +506,7 @@ public class StyleContext { return styles.getChangeListeners(); } - + public Style addStyle(String name, Style parent) { Style newStyle = new NamedStyle(name, parent); @@ -534,7 +534,7 @@ public class StyleContext { return (Style) styles.getAttribute(name); } - + /** * Get the names of the style. The returned enumeration always * contains at least one member, the default style. @@ -572,7 +572,7 @@ public class StyleContext // // We keep a static cache mapping SimpleFontSpecs to java.awt.Fonts, so // that we reuse Fonts between styles and style contexts. - // + // private static class SimpleFontSpec { @@ -600,7 +600,7 @@ public class StyleContext return family.hashCode() + style + size; } } - + public Font getFont(AttributeSet attr) { String family = StyleConstants.getFontFamily(attr); @@ -608,7 +608,7 @@ public class StyleContext if (StyleConstants.isBold(attr)) style += Font.BOLD; if (StyleConstants.isItalic(attr)) - style += Font.ITALIC; + style += Font.ITALIC; int size = StyleConstants.getFontSize(attr); return getFont(family, style, size); } @@ -625,7 +625,7 @@ public class StyleContext return tmp; } } - + public FontMetrics getFontMetrics(Font f) { return Toolkit.getDefaultToolkit().getFontMetrics(f); @@ -641,7 +641,7 @@ public class StyleContext return StyleConstants.getBackground(a); } - protected int getCompressionThreshold() + protected int getCompressionThreshold() { return compressionThreshold; } @@ -749,7 +749,7 @@ public class StyleContext } public synchronized AttributeSet removeAttributes(AttributeSet old, - Enumeration names) + Enumeration names) { AttributeSet ret; if (old.getAttributeCount() <= getCompressionThreshold()) @@ -771,7 +771,7 @@ public class StyleContext /** * Gets the object previously registered with registerStaticAttributeKey. - * + * * @param key - the key that was registered. * @return the object previously registered with registerStaticAttributeKey. */ @@ -781,11 +781,11 @@ public class StyleContext return null; return readAttributeKeys.get(key); } - + /** * Returns the String that key will be registered with * registerStaticAttributeKey. - * + * * @param key - the key that will be registered. * @return the string the key will be registered with. */ @@ -799,7 +799,7 @@ public class StyleContext * attempt to restore keys that were static objects by considering only the * keys that have were registered with registerStaticAttributeKey. The * attributes retrieved will be placed into the given set. - * + * * @param in - the stream to read from * @param a - the set of attributes * @throws ClassNotFoundException - may be encountered when reading from @@ -827,12 +827,12 @@ public class StyleContext a.addAttribute(key, val); } } - + /** * Serialize an attribute set in a way that is compatible with it * being read in again by {@link #readAttributeSet(ObjectInputStream, MutableAttributeSet)}. * In particular registered static keys are transformed properly. - * + * * @param out - stream to write to * @param a - the attribute set * @throws IOException - any I/O error @@ -872,9 +872,9 @@ public class StyleContext } /** - * Handles reading in the attributes. + * Handles reading in the attributes. * @see #readAttributeSet(ObjectInputStream, MutableAttributeSet) - * + * * @param in - the stream to read from * @param a - the set of attributes * @throws ClassNotFoundException - may be encountered when reading from stream @@ -889,7 +889,7 @@ public class StyleContext /** * Handles writing of the given attributes. * @see #writeAttributeSet(ObjectOutputStream, AttributeSet) - * + * * @param out - stream to write to * @param a - the attribute set * @throws IOException - any I/O error diff --git a/libjava/classpath/javax/swing/text/StyledDocument.java b/libjava/classpath/javax/swing/text/StyledDocument.java index 168e1b1..49e471c 100644 --- a/libjava/classpath/javax/swing/text/StyledDocument.java +++ b/libjava/classpath/javax/swing/text/StyledDocument.java @@ -42,8 +42,8 @@ import java.awt.Font; /** * StyledDocument - * @author Andrew Selkirk - * @version 1.0 + * @author Andrew Selkirk + * @version 1.0 */ public interface StyledDocument extends Document { diff --git a/libjava/classpath/javax/swing/text/StyledEditorKit.java b/libjava/classpath/javax/swing/text/StyledEditorKit.java index 5686943..744585f 100644 --- a/libjava/classpath/javax/swing/text/StyledEditorKit.java +++ b/libjava/classpath/javax/swing/text/StyledEditorKit.java @@ -364,8 +364,8 @@ public class StyledEditorKit extends DefaultEditorKit { Document doc = editor.getDocument(); if (!(doc instanceof StyledDocument)) - throw new AssertionError("The Document for StyledEditorKits is " - + "expected to be a StyledDocument."); + throw new AssertionError("The Document for StyledEditorKits is " + + "expected to be a StyledDocument."); return (StyledDocument) doc; } @@ -382,8 +382,8 @@ public class StyledEditorKit extends DefaultEditorKit { EditorKit kit = editor.getEditorKit(); if (!(kit instanceof StyledEditorKit)) - throw new AssertionError("The EditorKit for StyledDocuments is " - + "expected to be a StyledEditorKit."); + throw new AssertionError("The EditorKit for StyledDocuments is " + + "expected to be a StyledEditorKit."); return (StyledEditorKit) kit; } @@ -406,33 +406,33 @@ public class StyledEditorKit extends DefaultEditorKit { Document doc = editor.getDocument(); if (doc instanceof StyledDocument) - { - StyledDocument styleDoc = (StyledDocument) editor.getDocument(); - EditorKit kit = editor.getEditorKit(); - if (!(kit instanceof StyledEditorKit)) - { - StyledEditorKit styleKit = (StyledEditorKit) kit; - int start = editor.getSelectionStart(); - int end = editor.getSelectionEnd(); - int dot = editor.getCaret().getDot(); - if (start == dot && end == dot) - { - // If there is no selection, then we only update the - // input attributes. - MutableAttributeSet inputAttributes = - styleKit.getInputAttributes(); - inputAttributes.addAttributes(atts); - } - else - styleDoc.setParagraphAttributes(start, end, atts, replace); - } - else - throw new AssertionError("The EditorKit for StyledTextActions " - + "is expected to be a StyledEditorKit"); - } + { + StyledDocument styleDoc = (StyledDocument) editor.getDocument(); + EditorKit kit = editor.getEditorKit(); + if (!(kit instanceof StyledEditorKit)) + { + StyledEditorKit styleKit = (StyledEditorKit) kit; + int start = editor.getSelectionStart(); + int end = editor.getSelectionEnd(); + int dot = editor.getCaret().getDot(); + if (start == dot && end == dot) + { + // If there is no selection, then we only update the + // input attributes. + MutableAttributeSet inputAttributes = + styleKit.getInputAttributes(); + inputAttributes.addAttributes(atts); + } + else + styleDoc.setParagraphAttributes(start, end, atts, replace); + } + else + throw new AssertionError("The EditorKit for StyledTextActions " + + "is expected to be a StyledEditorKit"); + } else - throw new AssertionError("The Document for StyledTextActions is " - + "expected to be a StyledDocument."); + throw new AssertionError("The Document for StyledTextActions is " + + "expected to be a StyledDocument."); } } @@ -466,15 +466,15 @@ public class StyledEditorKit extends DefaultEditorKit String name = element.getName(); View view = null; if (name.equals(AbstractDocument.ContentElementName)) - view = new LabelView(element); + view = new LabelView(element); else if (name.equals(AbstractDocument.ParagraphElementName)) - view = new ParagraphView(element); + view = new ParagraphView(element); else if (name.equals(AbstractDocument.SectionElementName)) - view = new BoxView(element, View.Y_AXIS); + view = new BoxView(element, View.Y_AXIS); else if (name.equals(StyleConstants.ComponentElementName)) - view = new ComponentView(element); + view = new ComponentView(element); else if (name.equals(StyleConstants.IconElementName)) - view = new IconView(element); + view = new IconView(element); else throw new AssertionError("Unknown Element type: " + element.getClass().getName() + " : " @@ -499,14 +499,14 @@ public class StyledEditorKit extends DefaultEditorKit { Object source = ev.getSource(); if (!(source instanceof JTextComponent)) - throw new AssertionError("CaretEvents are expected to come from a" - + "JTextComponent."); + throw new AssertionError("CaretEvents are expected to come from a" + + "JTextComponent."); JTextComponent text = (JTextComponent) source; Document doc = text.getDocument(); if (!(doc instanceof StyledDocument)) - throw new AssertionError("The Document used by StyledEditorKits is" - + "expected to be a StyledDocument"); + throw new AssertionError("The Document used by StyledEditorKits is" + + "expected to be a StyledDocument"); StyledDocument styleDoc = (StyledDocument) doc; currentRun = styleDoc.getCharacterElement(ev.getDot()); @@ -571,7 +571,7 @@ public class StyledEditorKit extends DefaultEditorKit public Action[] getActions() { Action[] actions1 = super.getActions(); - Action[] myActions = new Action[] { + Action[] myActions = new Action[] { new FontSizeAction("font-size-8", 8), new FontSizeAction("font-size-10", 10), new FontSizeAction("font-size-12", 12), @@ -698,7 +698,7 @@ public class StyledEditorKit extends DefaultEditorKit * @param set the inputAttributes to copy the attributes to */ protected void createInputAttributes(Element element, - MutableAttributeSet set) + MutableAttributeSet set) { // FIXME: Filter out component, icon and element name attributes. set.removeAttributes(set); diff --git a/libjava/classpath/javax/swing/text/TabExpander.java b/libjava/classpath/javax/swing/text/TabExpander.java index d70dd46..a1e4571 100644 --- a/libjava/classpath/javax/swing/text/TabExpander.java +++ b/libjava/classpath/javax/swing/text/TabExpander.java @@ -40,4 +40,4 @@ package javax.swing.text; public interface TabExpander { float nextTabStop(float x, int tabOffset); -} \ No newline at end of file +} diff --git a/libjava/classpath/javax/swing/text/TabSet.java b/libjava/classpath/javax/swing/text/TabSet.java index c08a650..c325965 100644 --- a/libjava/classpath/javax/swing/text/TabSet.java +++ b/libjava/classpath/javax/swing/text/TabSet.java @@ -54,28 +54,28 @@ public class TabSet implements Serializable /** * Creates a new TabSet containing the specified tab stops. - * + * * @param t the tab stops (null permitted). */ - public TabSet(TabStop[] t) + public TabSet(TabStop[] t) { if (t != null) tabs = (TabStop[]) t.clone(); - else + else tabs = new TabStop[0]; } - + /** * Returns the tab stop with the specified index. - * + * * @param i the index. - * + * * @return The tab stop. - * - * @throws IllegalArgumentException if i is not in the range + * + * @throws IllegalArgumentException if i is not in the range * 0 to getTabCount() - 1. */ - public TabStop getTab(int i) + public TabStop getTab(int i) { if (i < 0 || i >= tabs.length) throw new IllegalArgumentException("Index out of bounds."); @@ -84,38 +84,38 @@ public class TabSet implements Serializable /** * Returns the tab following the specified location. - * + * * @param location the location. - * + * * @return The tab following the specified location (or null). */ - public TabStop getTabAfter(float location) + public TabStop getTabAfter(float location) { int idx = getTabIndexAfter(location); if (idx == -1) return null; else - return tabs[idx]; + return tabs[idx]; } /** * Returns the number of tab stops in this tab set. - * + * * @return The number of tab stops in this tab set. */ - public int getTabCount() + public int getTabCount() { return tabs.length; } /** * Returns the index of the specified tab, or -1 if the tab is not found. - * + * * @param tab the tab (null permitted). - * + * * @return The index of the specified tab, or -1. */ - public int getTabIndex(TabStop tab) + public int getTabIndex(TabStop tab) { for (int i = 0; i < tabs.length; ++i) if (tabs[i] == tab) @@ -125,12 +125,12 @@ public class TabSet implements Serializable /** * Returns the index of the tab at or after the specified location. - * + * * @param location the tab location. - * + * * @return The index of the tab stop, or -1. */ - public int getTabIndexAfter(float location) + public int getTabIndexAfter(float location) { for (int i = 0; i < tabs.length; i++) { @@ -139,15 +139,15 @@ public class TabSet implements Serializable } return -1; } - + /** * Tests this TabSet for equality with an arbitrary object. - * + * * @param obj the object (null permitted). - * + * * @return true if this TabSet is equal to * obj, and false otherwise. - * + * * @since 1.5 */ public boolean equals(Object obj) @@ -167,15 +167,15 @@ public class TabSet implements Serializable } return true; } - + /** * Returns a hash code for this TabSet. - * + * * @return A hash code. - * + * * @since 1.5 */ - public int hashCode() + public int hashCode() { // this hash code won't match Sun's, but that shouldn't matter... int result = 193; @@ -191,7 +191,7 @@ public class TabSet implements Serializable /** * Returns a string representation of this TabSet. - * + * * @return A string representation of this TabSet. */ public String toString() diff --git a/libjava/classpath/javax/swing/text/TabStop.java b/libjava/classpath/javax/swing/text/TabStop.java index f4c3f85..03a5611 100644 --- a/libjava/classpath/javax/swing/text/TabStop.java +++ b/libjava/classpath/javax/swing/text/TabStop.java @@ -66,23 +66,23 @@ public class TabStop implements Serializable /** * Creates a new TabStop for the specified tab position. - * + * * @param pos the tab position. */ - public TabStop(float pos) + public TabStop(float pos) { this(pos, ALIGN_LEFT, LEAD_NONE); } - + /** * Creates a new TabStop with the specified attributes. - * + * * @param pos the tab position. - * @param align the alignment (one of {@link #ALIGN_LEFT}, - * {@link #ALIGN_CENTER}, {@link #ALIGN_RIGHT}, {@link #ALIGN_DECIMAL} + * @param align the alignment (one of {@link #ALIGN_LEFT}, + * {@link #ALIGN_CENTER}, {@link #ALIGN_RIGHT}, {@link #ALIGN_DECIMAL} * or {@link #ALIGN_BAR}). - * @param leader the leader (one of {@link #LEAD_NONE}, {@link #LEAD_DOTS}, - * {@link #LEAD_EQUALS}, {@link #LEAD_HYPHENS}, {@link #LEAD_THICKLINE} + * @param leader the leader (one of {@link #LEAD_NONE}, {@link #LEAD_DOTS}, + * {@link #LEAD_EQUALS}, {@link #LEAD_HYPHENS}, {@link #LEAD_THICKLINE} * or {@link #LEAD_UNDERLINE}). */ public TabStop(float pos, int align, int leader) @@ -91,16 +91,16 @@ public class TabStop implements Serializable this.align = align; this.leader = leader; } - + /** * Tests this TabStop for equality with an arbitrary object. - * + * * @param other the other object (null permitted). - * - * @return true if this TabStop is equal to + * + * @return true if this TabStop is equal to * the specified object, and false otherwise. */ - public boolean equals(Object other) + public boolean equals(Object other) { return (other != null) && (other instanceof TabStop) @@ -110,55 +110,55 @@ public class TabStop implements Serializable } /** - * Returns the tab alignment. This should be one of {@link #ALIGN_LEFT}, - * {@link #ALIGN_CENTER}, {@link #ALIGN_RIGHT}, {@link #ALIGN_DECIMAL} or + * Returns the tab alignment. This should be one of {@link #ALIGN_LEFT}, + * {@link #ALIGN_CENTER}, {@link #ALIGN_RIGHT}, {@link #ALIGN_DECIMAL} or * {@link #ALIGN_BAR}. - * + * * @return The tab alignment. */ - public int getAlignment() + public int getAlignment() { return align; } /** - * Returns the leader type. This should be one of {@link #LEAD_NONE}, - * {@link #LEAD_DOTS}, {@link #LEAD_EQUALS}, {@link #LEAD_HYPHENS}, + * Returns the leader type. This should be one of {@link #LEAD_NONE}, + * {@link #LEAD_DOTS}, {@link #LEAD_EQUALS}, {@link #LEAD_HYPHENS}, * {@link #LEAD_THICKLINE} or {@link #LEAD_UNDERLINE}. - * + * * @return The leader type. */ - public int getLeader() + public int getLeader() { return leader; } /** * Returns the tab position. - * + * * @return The tab position. */ - public float getPosition() + public float getPosition() { return pos; } /** * Returns a hash code for this TabStop. - * + * * @return A hash code. */ - public int hashCode() + public int hashCode() { return (int) pos + (int) leader + (int) align; } /** * Returns a string describing this TabStop. - * + * * @return A string describing this TabStop. */ - public String toString() + public String toString() { String prefix = ""; switch (align) @@ -174,7 +174,7 @@ public class TabStop implements Serializable case ALIGN_DECIMAL: prefix = "decimal "; break; - + case ALIGN_BAR: prefix = "bar "; break; @@ -182,8 +182,8 @@ public class TabStop implements Serializable default: break; } - - return prefix + "tab @" + pos + + return prefix + "tab @" + pos + ((leader == LEAD_NONE) ? "" : " (w/leaders)"); } diff --git a/libjava/classpath/javax/swing/text/TabableView.java b/libjava/classpath/javax/swing/text/TabableView.java index 2a96ea9..e50270b 100644 --- a/libjava/classpath/javax/swing/text/TabableView.java +++ b/libjava/classpath/javax/swing/text/TabableView.java @@ -1,4 +1,4 @@ -/* TabableView.java -- +/* TabableView.java -- Copyright (C) 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. diff --git a/libjava/classpath/javax/swing/text/TableView.java b/libjava/classpath/javax/swing/text/TableView.java index 2dcb9eb..bdf5004 100644 --- a/libjava/classpath/javax/swing/text/TableView.java +++ b/libjava/classpath/javax/swing/text/TableView.java @@ -51,7 +51,7 @@ import javax.swing.event.DocumentEvent; * horizontal boxes containing the actuall cells of the table. These cells * can be arbitrary view implementations and are fetched via the * {@link ViewFactory} returned by {@link View#getViewFactory}. - * + * * @author Roman Kennke (kennke@aicas.com) */ public abstract class TableView @@ -416,7 +416,7 @@ public abstract class TableView /** * Calculates the requirements of this view for the minor (== horizontal) * axis. - * + * * This is reimplemented to calculate the requirements as the sum of the * size requirements of the columns. * diff --git a/libjava/classpath/javax/swing/text/TextAction.java b/libjava/classpath/javax/swing/text/TextAction.java index 49c49cb..70e19ef1d 100644 --- a/libjava/classpath/javax/swing/text/TextAction.java +++ b/libjava/classpath/javax/swing/text/TextAction.java @@ -67,9 +67,9 @@ public abstract class TextAction extends AbstractAction * Returns the JTextComponent object associated with the given * ActionEvent. If the source of the event is not a * JTextComponent the currently focused text component is returned. - * + * * @param event the action event - * + * * @return the JTextComponent */ protected final JTextComponent getTextComponent(ActionEvent event) @@ -88,7 +88,7 @@ public abstract class TextAction extends AbstractAction /** * Creates a new array of Action containing both given arrays. - * + * * @param list1 the first action array * @param list2 the second action array * @@ -112,7 +112,7 @@ public abstract class TextAction extends AbstractAction actions.put(name != null ? name : "", a); } Action[] augmented = new Action[actions.size()]; - + int i = 0; for (Iterator it = actions.values().iterator(); it.hasNext(); i++) augmented[i] = it.next(); @@ -122,7 +122,7 @@ public abstract class TextAction extends AbstractAction /** * Returns the current focused JTextComponent object. - * + * * @return the JTextComponent */ protected final JTextComponent getFocusedComponent() @@ -135,21 +135,21 @@ public abstract class TextAction extends AbstractAction textComp = (JTextComponent) focused; return textComp; } - + /** Abstract helper class which implements everything needed for an * Action implementation in DefaultEditorKit which - * does horizontal movement (and selection). + * does horizontal movement (and selection). */ abstract static class HorizontalMovementAction extends TextAction { int dir; - + HorizontalMovementAction(String name, int direction) { super(name); dir = direction; } - + public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); @@ -161,34 +161,34 @@ public abstract class TextAction extends AbstractAction = Utilities.getNextVisualPositionFrom(t, t.getCaretPosition(), dir); - + Caret c = t.getCaret(); - + actionPerformedImpl(c, offs); - + c.setMagicCaretPosition(t.modelToView(offs).getLocation()); } } catch(BadLocationException ble) { - throw + throw (InternalError) new InternalError("Illegal offset").initCause(ble); } - + } - + protected abstract void actionPerformedImpl(Caret c, int offs) throws BadLocationException; } - + /** Abstract helper class which implements everything needed for an * Action implementation in DefaultEditorKit which * does vertical movement (and selection). - */ + */ abstract static class VerticalMovementAction extends TextAction { int dir; - + VerticalMovementAction(String name, int direction) { super(name); @@ -215,26 +215,26 @@ public abstract class TextAction extends AbstractAction } else pos = c.getDot(); - + pos = Utilities.getNextVisualPositionFrom(t, t.getCaretPosition(), dir); - + if (pos > -1) actionPerformedImpl(c, pos); } } - catch(BadLocationException ble) + catch(BadLocationException ble) { - throw + throw (InternalError) new InternalError("Illegal offset").initCause(ble); } } - + protected abstract void actionPerformedImpl(Caret c, int offs) throws BadLocationException; - + } - - + + } diff --git a/libjava/classpath/javax/swing/text/Utilities.java b/libjava/classpath/javax/swing/text/Utilities.java index d49d806..6221392 100644 --- a/libjava/classpath/javax/swing/text/Utilities.java +++ b/libjava/classpath/javax/swing/text/Utilities.java @@ -97,7 +97,7 @@ public class Utilities int pos = s.offset; int len = 0; - + int end = s.offset + s.count; for (int offset = s.offset; offset < end; ++offset) @@ -138,7 +138,7 @@ public class Utilities g.drawChars(buffer, pos, len, pixelX, y); pixelX += metrics.charsWidth(buffer, pos, len); } - + return pixelX; } @@ -171,21 +171,21 @@ public class Utilities int count = 0; for (int offset = s.offset; offset < end; offset++) { - switch (buffer[offset]) - { - case '\t': - // In case we have a tab, we just 'jump' over the tab. - // When we have no tab expander we just use the width of 'm'. - if (e != null) - pixelX = (int) e.nextTabStop(pixelX, - startOffset + offset - s.offset); - else - pixelX += metrics.charWidth(' '); - break; - case '\n': - // In case we have a newline, we must 'draw' - // the buffer and jump on the next line. - pixelX += metrics.charsWidth(buffer, offset - count, count); + switch (buffer[offset]) + { + case '\t': + // In case we have a tab, we just 'jump' over the tab. + // When we have no tab expander we just use the width of 'm'. + if (e != null) + pixelX = (int) e.nextTabStop(pixelX, + startOffset + offset - s.offset); + else + pixelX += metrics.charWidth(' '); + break; + case '\n': + // In case we have a newline, we must 'draw' + // the buffer and jump on the next line. + pixelX += metrics.charsWidth(buffer, offset - count, count); count = 0; break; default: @@ -234,12 +234,12 @@ public class Utilities int found = s.count; int currentX = x0; int nextX = currentX; - + int end = s.offset + s.count; for (int pos = s.offset; pos < end && found == s.count; pos++) { char nextChar = s.array[pos]; - + if (nextChar != '\t') nextX += fm.charWidth(nextChar); else @@ -249,7 +249,7 @@ public class Utilities else nextX += ((int) te.nextTabStop(nextX, p0 + pos - s.offset)); } - + if (x >= currentX && x < nextX) { // Found position. @@ -295,10 +295,10 @@ public class Utilities { return getTabbedTextOffset(s, fm, x0, x, te, p0, true); } - + /** * Finds the start of the next word for the given offset. - * + * * @param c * the text component * @param offs @@ -315,7 +315,7 @@ public class Utilities String text = c.getText(); BreakIterator wb = BreakIterator.getWordInstance(); wb.setText(text); - + int last = wb.following(offs); int current = wb.next(); int cp; @@ -325,7 +325,7 @@ public class Utilities for (int i = last; i < current; i++) { cp = text.codePointAt(i); - + // Return the last found bound if there is a letter at the current // location or is not whitespace (meaning it is a number or // punctuation). The first case means that 'last' denotes the @@ -338,13 +338,13 @@ public class Utilities last = current; current = wb.next(); } - + throw new BadLocationException("no more words", offs); } /** * Finds the start of the previous word for the given offset. - * + * * @param c * the text component * @param offs @@ -357,10 +357,10 @@ public class Utilities throws BadLocationException { String text = c.getText(); - + if (offs <= 0 || offs > text.length()) throw new BadLocationException("invalid offset specified", offs); - + BreakIterator wb = BreakIterator.getWordInstance(); wb.setText(text); int last = wb.preceding(offs); @@ -372,7 +372,7 @@ public class Utilities for (int i = last; i < offs; i++) { cp = text.codePointAt(i); - + // Return the last found bound if there is a letter at the current // location or is not whitespace (meaning it is a number or // punctuation). The first case means that 'last' denotes the @@ -385,10 +385,10 @@ public class Utilities last = current; current = wb.previous(); } - + return 0; } - + /** * Finds the start of a word for the given location. * @param c the text component @@ -400,10 +400,10 @@ public class Utilities throws BadLocationException { String text = c.getText(); - + if (offs < 0 || offs > text.length()) throw new BadLocationException("invalid offset specified", offs); - + BreakIterator wb = BreakIterator.getWordInstance(); wb.setText(text); @@ -412,7 +412,7 @@ public class Utilities return wb.preceding(offs); } - + /** * Finds the end of a word for the given location. * @param c the text component @@ -425,20 +425,20 @@ public class Utilities { if (offs < 0 || offs >= c.getText().length()) throw new BadLocationException("invalid offset specified", offs); - + String text = c.getText(); BreakIterator wb = BreakIterator.getWordInstance(); wb.setText(text); return wb.following(offs); } - + /** - * Get the model position of the end of the row that contains the + * Get the model position of the end of the row that contains the * specified model position. Return null if the given JTextComponent * does not have a size. * @param c the JTextComponent * @param offs the model position - * @return the model position of the end of the row containing the given + * @return the model position of the end of the row containing the given * offset * @throws BadLocationException if the offset is invalid */ @@ -473,12 +473,12 @@ public class Utilities } } } - + /** * Get the model position of the start of the row that contains the specified * model position. Return null if the given JTextComponent does not have a * size. - * + * * @param c the JTextComponent * @param offs the model position * @return the model position of the start of the row containing the given @@ -516,7 +516,7 @@ public class Utilities } } } - + /** * Determine where to break the text in the given Segment, attempting to find * a word boundary. @@ -612,23 +612,23 @@ public class Utilities throws BadLocationException { int offs = getRowStart(c, offset); - + if(offs == -1) return -1; // Effectively calculates the y value of the previous line. Point pt = c.modelToView(offs-1).getLocation(); - + pt.x = x; - + // Calculate a simple fitting offset. offs = c.viewToModel(pt); - + // Find out the real x positions of the calculated character and its // neighbour. int offsX = c.modelToView(offs).getLocation().x; int offsXNext = c.modelToView(offs+1).getLocation().x; - + // Chose the one which is nearer to us and return its offset. if (Math.abs(offsX-x) <= Math.abs(offsXNext-x)) return offs; @@ -653,12 +653,12 @@ public class Utilities throws BadLocationException { int offs = getRowEnd(c, offset); - + if(offs == -1) return -1; Point pt = null; - + // Note: Some views represent the position after the last // typed character others do not. Converting offset 3 in "a\nb" // in a PlainView will return a valid rectangle while in a @@ -673,12 +673,12 @@ public class Utilities { return offset; } - + pt.x = x; - + // Calculate a simple fitting offset. offs = c.viewToModel(pt); - + if (offs == c.getDocument().getLength()) return offs; @@ -686,29 +686,29 @@ public class Utilities // neighbour. int offsX = c.modelToView(offs).getLocation().x; int offsXNext = c.modelToView(offs+1).getLocation().x; - + // Chose the one which is nearer to us and return its offset. if (Math.abs(offsX-x) <= Math.abs(offsXNext-x)) return offs; else return offs+1; } - + /** This is an internal helper method which is used by the * javax.swing.text package. It simply delegates the * call to a method with the same name on the NavigationFilter * of the provided JTextComponent (if it has one) or its UI. - * + * * If the underlying method throws a BadLocationException it * will be swallowed and the initial offset is returned. */ static int getNextVisualPositionFrom(JTextComponent t, int offset, int direction) { NavigationFilter nf = t.getNavigationFilter(); - + try { - return (nf != null) + return (nf != null) ? nf.getNextVisualPositionFrom(t, offset, Bias.Forward, @@ -724,7 +724,7 @@ public class Utilities { return offset; } - + } - + } diff --git a/libjava/classpath/javax/swing/text/View.java b/libjava/classpath/javax/swing/text/View.java index c63ddbc..e3c7957 100644 --- a/libjava/classpath/javax/swing/text/View.java +++ b/libjava/classpath/javax/swing/text/View.java @@ -1,4 +1,4 @@ -/* View.java -- +/* View.java -- Copyright (C) 2002, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -56,7 +56,7 @@ public abstract class View implements SwingConstants public static final int X_AXIS = 0; public static final int Y_AXIS = 1; - + private Element elt; private View parent; @@ -104,12 +104,12 @@ public abstract class View implements SwingConstants this.parent = parent; } - + public View getParent() { return parent; } - + public Container getContainer() { View parent = getParent(); @@ -118,12 +118,12 @@ public abstract class View implements SwingConstants else return parent.getContainer(); } - + public Document getDocument() { return getElement().getDocument(); } - + public Element getElement() { return elt; @@ -189,12 +189,12 @@ public abstract class View implements SwingConstants min = getPreferredSpan(axis); return min; } - + public void setSize(float width, float height) { // The default implementation does nothing. } - + /** * Returns the alignment of this view along the baseline of the parent view. * An alignment of 0.0 will align this view with the left edge @@ -218,7 +218,7 @@ public abstract class View implements SwingConstants { return getElement().getAttributes(); } - + public boolean isVisible() { return true; @@ -228,7 +228,7 @@ public abstract class View implements SwingConstants { return 0; } - + public View getView(int index) { return null; @@ -274,7 +274,7 @@ public abstract class View implements SwingConstants public void remove(int index) { - replace(index, 1, null); + replace(index, 1, null); } public View createFragment(int p0, int p1) @@ -297,7 +297,7 @@ public abstract class View implements SwingConstants { return null; } - + /** * @since 1.4 */ @@ -305,7 +305,7 @@ public abstract class View implements SwingConstants { return -1; } - + /** * @since 1.4 */ @@ -674,15 +674,15 @@ public abstract class View implements SwingConstants * listed valid values */ public Shape modelToView(int p1, Position.Bias b1, - int p2, Position.Bias b2, Shape a) + int p2, Position.Bias b2, Shape a) throws BadLocationException { if (b1 != Position.Bias.Forward && b1 != Position.Bias.Backward) throw new IllegalArgumentException - ("b1 must be either Position.Bias.Forward or Position.Bias.Backward"); + ("b1 must be either Position.Bias.Forward or Position.Bias.Backward"); if (b2 != Position.Bias.Forward && b2 != Position.Bias.Backward) throw new IllegalArgumentException - ("b2 must be either Position.Bias.Forward or Position.Bias.Backward"); + ("b2 must be either Position.Bias.Forward or Position.Bias.Backward"); Shape s1 = modelToView(p1, a, b1); // Special case for p2 == end index. @@ -867,7 +867,7 @@ public abstract class View implements SwingConstants ret = parent.viewToModel(r.x, r.y - 1, a, biasRet); break; case SOUTH: - // Try to find a suitable offset by examining the area below. + // Try to find a suitable offset by examining the area below. parent = getParent(); r = parent.modelToView(pos, a, b).getBounds(); ret = parent.viewToModel(r.x + r.width, r.y + r.height, a, biasRet); @@ -875,7 +875,7 @@ public abstract class View implements SwingConstants default: throw new IllegalArgumentException("Illegal value for d"); } - + return ret; } } diff --git a/libjava/classpath/javax/swing/text/ViewFactory.java b/libjava/classpath/javax/swing/text/ViewFactory.java index 0794880..cb57bd8 100644 --- a/libjava/classpath/javax/swing/text/ViewFactory.java +++ b/libjava/classpath/javax/swing/text/ViewFactory.java @@ -1,4 +1,4 @@ -/* ViewFactory.java -- +/* ViewFactory.java -- Copyright (C) 2002, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. diff --git a/libjava/classpath/javax/swing/text/WrappedPlainView.java b/libjava/classpath/javax/swing/text/WrappedPlainView.java index 00e12b1..f2a6c92 100644 --- a/libjava/classpath/javax/swing/text/WrappedPlainView.java +++ b/libjava/classpath/javax/swing/text/WrappedPlainView.java @@ -1,4 +1,4 @@ -/* WrappedPlainView.java -- +/* WrappedPlainView.java -- Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -56,31 +56,31 @@ public class WrappedPlainView extends BoxView implements TabExpander { /** The color for selected text **/ Color selectedColor; - + /** The color for unselected text **/ Color unselectedColor; - + /** The color for disabled components **/ Color disabledColor; - + /** * Stores the font metrics. This is package private to avoid synthetic * accessor method. */ FontMetrics metrics; - + /** Whether or not to wrap on word boundaries **/ boolean wordWrap; - + /** A ViewFactory that creates WrappedLines **/ ViewFactory viewFactory = new WrappedLineCreator(); - + /** The start of the selected text **/ int selectionStart; - + /** The end of the selected text **/ int selectionEnd; - + /** The height of the line (used while painting) **/ int lineHeight; @@ -98,18 +98,18 @@ public class WrappedPlainView extends BoxView implements TabExpander * The instance returned by {@link #getLineBuffer()}. */ private transient Segment lineBuffer; - + public WrappedPlainView (Element elem) { this (elem, false); } - + public WrappedPlainView (Element elem, boolean wordWrap) { super (elem, Y_AXIS); - this.wordWrap = wordWrap; - } - + this.wordWrap = wordWrap; + } + /** * Provides access to the Segment used for retrievals from the Document. * @return the Segment. @@ -120,12 +120,12 @@ public class WrappedPlainView extends BoxView implements TabExpander lineBuffer = new Segment(); return lineBuffer; } - + /** * Returns the next tab stop position after a given reference position. * * This implementation ignores the tabStop argument. - * + * * @param x the current x position in pixels * @param tabStop the position within the text stream that the tab occured at */ @@ -139,12 +139,12 @@ public class WrappedPlainView extends BoxView implements TabExpander } return next; } - + /** - * Returns the tab size for the Document based on + * Returns the tab size for the Document based on * PlainDocument.tabSizeAttribute, defaulting to 8 if this property is * not defined - * + * * @return the tab size. */ protected int getTabSize() @@ -154,7 +154,7 @@ public class WrappedPlainView extends BoxView implements TabExpander return 8; return ((Integer)tabSize).intValue(); } - + /** * Draws a line of text, suppressing white space at the end and expanding * tabs. Calls drawSelectedText and drawUnselectedText. @@ -175,37 +175,37 @@ public class WrappedPlainView extends BoxView implements TabExpander // - start of range is selected, end of range is unselected // - start of range is unselected, end of range is selected // - middle of range is selected, start and end of range is unselected - - // entire range unselected: - if ((selectionStart == selectionEnd) || + + // entire range unselected: + if ((selectionStart == selectionEnd) || (p0 > selectionEnd || p1 < selectionStart)) drawUnselectedText(g, x, y, p0, p1); - + // entire range selected else if (p0 >= selectionStart && p1 <= selectionEnd) drawSelectedText(g, x, y, p0, p1); - + // start of range selected, end of range unselected else if (p0 >= selectionStart) { x = drawSelectedText(g, x, y, p0, selectionEnd); drawUnselectedText(g, x, y, selectionEnd, p1); } - + // start of range unselected, end of range selected else if (selectionStart > p0 && selectionEnd > p1) { x = drawUnselectedText(g, x, y, p0, selectionStart); drawSelectedText(g, x, y, selectionStart, p1); } - + // middle of range selected else if (selectionStart > p0) { x = drawUnselectedText(g, x, y, p0, selectionStart); x = drawSelectedText(g, x, y, selectionStart, selectionEnd); drawUnselectedText(g, x, y, selectionEnd, p1); - } + } } catch (BadLocationException ble) { @@ -214,14 +214,14 @@ public class WrappedPlainView extends BoxView implements TabExpander } /** - * Renders the range of text as selected text. Just paints the text + * Renders the range of text as selected text. Just paints the text * in the color specified by the host component. Assumes the highlighter * will render the selected background. * @param g the graphics context * @param x the starting X coordinate * @param y the starting Y coordinate * @param p0 the starting model location - * @param p1 the ending model location + * @param p1 the ending model location * @return the X coordinate of the end of the text * @throws BadLocationException if the given range is invalid */ @@ -246,7 +246,7 @@ public class WrappedPlainView extends BoxView implements TabExpander */ protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException - { + { JTextComponent textComponent = (JTextComponent) getContainer(); if (textComponent.isEnabled()) g.setColor(unselectedColor); @@ -256,8 +256,8 @@ public class WrappedPlainView extends BoxView implements TabExpander Segment segment = getLineBuffer(); getDocument().getText(p0, p1 - p0, segment); return Utilities.drawTabbedText(segment, x, y, g, this, p0); - } - + } + /** * Loads the children to initiate the view. Called by setParent. * Creates a WrappedLine for each child Element. @@ -268,17 +268,17 @@ public class WrappedPlainView extends BoxView implements TabExpander int numChildren = root.getElementCount(); if (numChildren == 0) return; - + View[] children = new View[numChildren]; for (int i = 0; i < numChildren; i++) children[i] = new WrappedLine(root.getElement(i)); replace(0, 0, children); } - + /** * Calculates the break position for the text between model positions * p0 and p1. Will break on word boundaries or character boundaries - * depending on the break argument given in construction of this + * depending on the break argument given in construction of this * WrappedPlainView. Used by the nested WrappedLine class to determine * when to start the next logical line. * @param p0 the start model position @@ -307,16 +307,16 @@ public class WrappedPlainView extends BoxView implements TabExpander false); return pos; } - + void updateMetrics() { Container component = getContainer(); metrics = component.getFontMetrics(component.getFont()); tabSize = getTabSize()* metrics.charWidth('m'); } - + /** - * Determines the preferred span along the given axis. Implemented to + * Determines the preferred span along the given axis. Implemented to * cache the font metrics and then call the super classes method. */ public float getPreferredSpan (int axis) @@ -324,9 +324,9 @@ public class WrappedPlainView extends BoxView implements TabExpander updateMetrics(); return super.getPreferredSpan(axis); } - + /** - * Determines the minimum span along the given axis. Implemented to + * Determines the minimum span along the given axis. Implemented to * cache the font metrics and then call the super classes method. */ public float getMinimumSpan (int axis) @@ -334,9 +334,9 @@ public class WrappedPlainView extends BoxView implements TabExpander updateMetrics(); return super.getMinimumSpan(axis); } - + /** - * Determines the maximum span along the given axis. Implemented to + * Determines the maximum span along the given axis. Implemented to * cache the font metrics and then call the super classes method. */ public float getMaximumSpan (int axis) @@ -344,7 +344,7 @@ public class WrappedPlainView extends BoxView implements TabExpander updateMetrics(); return super.getMaximumSpan(axis); } - + /** * Called when something was inserted. Overridden so that * the view factory creates WrappedLine views. @@ -361,7 +361,7 @@ public class WrappedPlainView extends BoxView implements TabExpander if (v != null) v.insertUpdate(e, r, f); } - + /** * Called when something is removed. Overridden so that * the view factory creates WrappedLine views. @@ -378,7 +378,7 @@ public class WrappedPlainView extends BoxView implements TabExpander if (v != null) v.removeUpdate(e, r, f); } - + /** * Called when the portion of the Document that this View is responsible * for changes. Overridden so that the view factory creates @@ -425,9 +425,9 @@ public class WrappedPlainView extends BoxView implements TabExpander public View create(Element elem) { return new WrappedLine(elem); - } + } } - + /** * Renders the Element that is associated with this * View. Caches the metrics and then calls @@ -444,7 +444,7 @@ public class WrappedPlainView extends BoxView implements TabExpander JTextComponent comp = (JTextComponent)getContainer(); // Ensure metrics are up-to-date. updateMetrics(); - + selectionStart = comp.getSelectionStart(); selectionEnd = comp.getSelectionEnd(); @@ -457,7 +457,7 @@ public class WrappedPlainView extends BoxView implements TabExpander super.paint(g, a); } - + /** * Sets the size of the View. Implemented to update the metrics * and then call super method. @@ -469,12 +469,12 @@ public class WrappedPlainView extends BoxView implements TabExpander preferenceChanged(null, true, true); super.setSize(width, height); } - + class WrappedLine extends View - { + { /** Used to cache the number of lines for this View **/ int numLines = 1; - + public WrappedLine(Element elem) { super(elem); @@ -518,26 +518,26 @@ public class WrappedPlainView extends BoxView implements TabExpander this); else lh.paintLayeredHighlights(g, currStart, currEnd, s, tc, this); - + } drawLine(currStart, currEnd, g, rect.x, rect.y + metrics.getAscent()); - - rect.y += lineHeight; + + rect.y += lineHeight; if (currEnd == currStart) currStart ++; else currStart = currEnd; - + count++; - + } - + if (count != numLines) { numLines = count; preferenceChanged(this, false, true); } - + } /** @@ -546,7 +546,7 @@ public class WrappedPlainView extends BoxView implements TabExpander * accordingly. */ private int determineNumLines() - { + { int nLines = 0; int end = getEndOffset(); for (int i = getStartOffset(); i < end;) @@ -555,7 +555,7 @@ public class WrappedPlainView extends BoxView implements TabExpander // careful: check that there's no off-by-one problem here // depending on which position calculateBreakPosition returns int breakPoint = calculateBreakPosition(i, end); - + if (breakPoint == i) i = breakPoint + 1; else @@ -563,12 +563,12 @@ public class WrappedPlainView extends BoxView implements TabExpander } return nLines; } - + /** * Determines the preferred span for this view along the given axis. - * + * * @param axis the axis (either X_AXIS or Y_AXIS) - * + * * @return the preferred span along the given axis. * @throws IllegalArgumentException if axis is not X_AXIS or Y_AXIS */ @@ -582,19 +582,19 @@ public class WrappedPlainView extends BoxView implements TabExpander updateMetrics(); return numLines * metrics.getHeight(); } - + throw new IllegalArgumentException("Invalid axis for getPreferredSpan: " + axis); } - + /** * Provides a mapping from model space to view space. - * + * * @param pos the position in the model * @param a the region into which the view is rendered * @param b the position bias (forward or backward) - * - * @return a box in view space that represents the given position + * + * @return a box in view space that represents the given position * in model space * @throws BadLocationException if the given model position is invalid */ @@ -602,26 +602,26 @@ public class WrappedPlainView extends BoxView implements TabExpander throws BadLocationException { Rectangle rect = a.getBounds(); - + // Throwing a BadLocationException is an observed behavior of the RI. if (rect.isEmpty()) throw new BadLocationException("Unable to calculate view coordinates " + "when allocation area is empty.", pos); - + Segment s = getLineBuffer(); int lineHeight = metrics.getHeight(); - - // Return a rectangle with width 1 and height equal to the height + + // Return a rectangle with width 1 and height equal to the height // of the text rect.height = lineHeight; rect.width = 1; int currLineStart = getStartOffset(); int end = getEndOffset(); - + if (pos < currLineStart || pos >= end) throw new BadLocationException("invalid offset", pos); - + while (true) { int currLineEnd = calculateBreakPosition(currLineStart, end); @@ -629,7 +629,7 @@ public class WrappedPlainView extends BoxView implements TabExpander // the width of the text from currLineStart to pos and add that // to rect.x if (pos >= currLineStart && pos < currLineEnd) - { + { try { getDocument().getText(currLineStart, pos - currLineStart, s); @@ -645,7 +645,7 @@ public class WrappedPlainView extends BoxView implements TabExpander } // Increment rect.y so we're checking the next logical line rect.y += lineHeight; - + // Increment currLineStart to the model position of the start // of the next logical line if (currLineEnd == currLineStart) @@ -658,12 +658,12 @@ public class WrappedPlainView extends BoxView implements TabExpander /** * Provides a mapping from view space to model space. - * + * * @param x the x coordinate in view space * @param y the y coordinate in view space * @param a the region into which the view is rendered * @param b the position bias (forward or backward) - * + * * @return the location in the model that best represents the * given point in view space */ @@ -672,19 +672,19 @@ public class WrappedPlainView extends BoxView implements TabExpander Segment s = getLineBuffer(); Rectangle rect = a.getBounds(); int currLineStart = getStartOffset(); - + // Although calling modelToView with the last possible offset will // cause a BadLocationException in CompositeView it is allowed // to return that offset in viewToModel. int end = getEndOffset(); - + int lineHeight = metrics.getHeight(); if (y < rect.y) return currLineStart; if (y > rect.y + rect.height) return end - 1; - + // Note: rect.x and rect.width do not represent the width of painted // text but the area where text *may* be painted. This means the width // is most of the time identical to the component's width. @@ -705,7 +705,7 @@ public class WrappedPlainView extends BoxView implements TabExpander { // Shouldn't happen } - + int offset = Utilities.getTabbedTextOffset(s, metrics, rect.x, (int) x, WrappedPlainView.this, @@ -719,27 +719,27 @@ public class WrappedPlainView extends BoxView implements TabExpander } // Increment rect.y so we're checking the next logical line rect.y += lineHeight; - + // Increment currLineStart to the model position of the start // of the next logical line. currLineStart = currLineEnd; } - + return end; - } - + } + /** *

    This method is called from insertUpdate and removeUpdate.

    - * + * *

    If the number of lines in the document has changed, just repaint - * the whole thing (note, could improve performance by not repainting - * anything above the changes). If the number of lines hasn't changed, + * the whole thing (note, could improve performance by not repainting + * anything above the changes). If the number of lines hasn't changed, * just repaint the given Rectangle.

    - * + * *

    Note that the Rectangle argument may be null - * when the allocation area is empty. - * + * when the allocation area is empty. + * * @param a the Rectangle to repaint if the number of lines hasn't changed */ void updateDamage (Rectangle a) @@ -754,11 +754,11 @@ public class WrappedPlainView extends BoxView implements TabExpander else if (a != null) getContainer().repaint(a.x, a.y, a.width, a.height); } - + /** * This method is called when something is inserted into the Document * that this View is displaying. - * + * * @param changes the DocumentEvent for the changes. * @param a the allocation of the View * @param f the ViewFactory used to rebuild @@ -766,13 +766,13 @@ public class WrappedPlainView extends BoxView implements TabExpander public void insertUpdate (DocumentEvent changes, Shape a, ViewFactory f) { Rectangle r = a instanceof Rectangle ? (Rectangle) a : a.getBounds(); - updateDamage(r); + updateDamage(r); } - + /** * This method is called when something is removed from the Document * that this View is displaying. - * + * * @param changes the DocumentEvent for the changes. * @param a the allocation of the View * @param f the ViewFactory used to rebuild @@ -787,9 +787,9 @@ public class WrappedPlainView extends BoxView implements TabExpander // makes View.forwardUpdate() skip this method call. // However this seems to cause no trouble and as it reduces the // number of method calls it can stay this way. - + Rectangle r = a instanceof Rectangle ? (Rectangle) a : a.getBounds(); - updateDamage(r); + updateDamage(r); } } } diff --git a/libjava/classpath/javax/swing/text/html/BRView.java b/libjava/classpath/javax/swing/text/html/BRView.java index 7d0d516..6f465c9 100644 --- a/libjava/classpath/javax/swing/text/html/BRView.java +++ b/libjava/classpath/javax/swing/text/html/BRView.java @@ -48,14 +48,14 @@ class BRView { /** * Creates the new BR view. - * + * * @param elem the HTML element, representing the view. */ public BRView(Element elem) { super(elem); } - + /** * Always return ForcedBreakWeight for the X_AXIS, BadBreakWeight for the * Y_AXIS. diff --git a/libjava/classpath/javax/swing/text/html/BlockView.java b/libjava/classpath/javax/swing/text/html/BlockView.java index b05c983..1c33971 100644 --- a/libjava/classpath/javax/swing/text/html/BlockView.java +++ b/libjava/classpath/javax/swing/text/html/BlockView.java @@ -1,4 +1,4 @@ -/* BlockView.java -- +/* BlockView.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -159,9 +159,9 @@ public class BlockView extends BoxView private HashMap positionInfo; /** - * Creates a new view that represents an html box. + * Creates a new view that represents an html box. * This can be used for a number of elements. - * + * * @param elem - the element to create a view for * @param axis - either View.X_AXIS or View.Y_AXIS */ @@ -176,26 +176,26 @@ public class BlockView extends BoxView * Creates the parent view for this. It is called before * any other methods, if the parent view is working properly. * Implemented to forward to the superclass and call - * setPropertiesFromAttributes to set the paragraph + * setPropertiesFromAttributes to set the paragraph * properties. - * + * * @param parent - the new parent, or null if the view - * is being removed from a parent it was added to. + * is being removed from a parent it was added to. */ public void setParent(View parent) { super.setParent(parent); - + if (parent != null) setPropertiesFromAttributes(); } - + /** * Calculates the requirements along the major axis. * This is implemented to call the superclass and then * adjust it if the CSS width or height attribute is specified * and applicable. - * + * * @param axis - the axis to check the requirements for. * @param r - the SizeRequirements. If null, one is created. * @return the new SizeRequirements object. @@ -205,7 +205,7 @@ public class BlockView extends BoxView { if (r == null) r = new SizeRequirements(); - + if (setCSSSpan(r, axis)) { // If we have set the span from CSS, then we need to adjust @@ -229,7 +229,7 @@ public class BlockView extends BoxView * This is implemented to call the superclass and then * adjust it if the CSS width or height attribute is specified * and applicable. - * + * * @param axis - the axis to check the requirements for. * @param r - the SizeRequirements. If null, one is created. * @return the new SizeRequirements object. @@ -239,7 +239,7 @@ public class BlockView extends BoxView { if (r == null) r = new SizeRequirements(); - + if (setCSSSpan(r, axis)) { // If we have set the span from CSS, then we need to adjust @@ -277,7 +277,7 @@ public class BlockView extends BoxView /** * Sets the span on the SizeRequirements object according to the * according CSS span value, when it is set. - * + * * @param r the size requirements * @param axis the axis * @@ -325,14 +325,14 @@ public class BlockView extends BoxView * perpendicular to the axis that it represents). The results * of the layout are placed in the given arrays which are * the allocations to the children along the minor axis. - * - * @param targetSpan - the total span given to the view, also + * + * @param targetSpan - the total span given to the view, also * used to layout the children. * @param axis - the minor axis * @param offsets - the offsets from the origin of the view for * all the child views. This is a return value and is filled in by this * function. - * @param spans - the span of each child view. This is a return value and is + * @param spans - the span of each child view. This is a return value and is * filled in by this function. */ protected void layoutMinorAxis(int targetSpan, int axis, @@ -469,7 +469,7 @@ public class BlockView extends BoxView * Paints using the given graphics configuration and shape. * This delegates to the css box painter to paint the * border and background prior to the interior. - * + * * @param g - Graphics configuration * @param a - the Shape to render into. */ @@ -487,7 +487,7 @@ public class BlockView extends BoxView /** * Fetches the attributes to use when painting. - * + * * @return the attributes of this model. */ public AttributeSet getAttributes() @@ -496,10 +496,10 @@ public class BlockView extends BoxView attributes = getStyleSheet().getViewAttributes(this); return attributes; } - + /** * Gets the resize weight. - * + * * @param axis - the axis to get the resize weight for. * @return the resize weight. * @throws IllegalArgumentException - for an invalid axis @@ -513,10 +513,10 @@ public class BlockView extends BoxView return 1; throw new IllegalArgumentException("Invalid Axis"); } - + /** * Gets the alignment. - * + * * @param axis - the axis to get the alignment for. * @return the alignment. */ @@ -537,11 +537,11 @@ public class BlockView extends BoxView } throw new IllegalArgumentException("Invalid Axis"); } - + /** * Gives notification from the document that attributes were * changed in a location that this view is responsible for. - * + * * @param ev - the change information * @param a - the current shape of the view * @param f - the factory to use to rebuild if the view has children. @@ -550,7 +550,7 @@ public class BlockView extends BoxView Shape a, ViewFactory f) { super.changedUpdate(ev, a, f); - + // If more elements were added, then need to set the properties for them int currPos = ev.getOffset(); if (currPos <= getStartOffset() @@ -560,10 +560,10 @@ public class BlockView extends BoxView /** * Determines the preferred span along the axis. - * + * * @param axis - the view to get the preferred span for. * @return the span the view would like to be painted into >=0/ - * The view is usually told to paint into the span that is returned, + * The view is usually told to paint into the span that is returned, * although the parent may choose to resize or break the view. * @throws IllegalArgumentException - for an invalid axis */ @@ -573,13 +573,13 @@ public class BlockView extends BoxView return super.getPreferredSpan(axis); throw new IllegalArgumentException("Invalid Axis"); } - + /** * Determines the minimum span along the axis. - * + * * @param axis - the axis to get the minimum span for. * @return the span the view would like to be painted into >=0/ - * The view is usually told to paint into the span that is returned, + * The view is usually told to paint into the span that is returned, * although the parent may choose to resize or break the view. * @throws IllegalArgumentException - for an invalid axis */ @@ -589,13 +589,13 @@ public class BlockView extends BoxView return super.getMinimumSpan(axis); throw new IllegalArgumentException("Invalid Axis"); } - + /** * Determines the maximum span along the axis. - * + * * @param axis - the axis to get the maximum span for. * @return the span the view would like to be painted into >=0/ - * The view is usually told to paint into the span that is returned, + * The view is usually told to paint into the span that is returned, * although the parent may choose to resize or break the view. * @throws IllegalArgumentException - for an invalid axis */ @@ -605,7 +605,7 @@ public class BlockView extends BoxView return super.getMaximumSpan(axis); throw new IllegalArgumentException("Invalid Axis"); } - + /** * Updates any cached values that come from attributes. */ @@ -640,7 +640,7 @@ public class BlockView extends BoxView /** * Gets the default style sheet. - * + * * @return the style sheet */ protected StyleSheet getStyleSheet() diff --git a/libjava/classpath/javax/swing/text/html/CSS.java b/libjava/classpath/javax/swing/text/html/CSS.java index 77f94a6..0a77bdf 100644 --- a/libjava/classpath/javax/swing/text/html/CSS.java +++ b/libjava/classpath/javax/swing/text/html/CSS.java @@ -455,7 +455,7 @@ public class CSS implements Serializable * * @param attr the attribute string * @param inherited if the attribute should be inherited or not - * @param def a default value; may be null + * @param def a default value; may be null */ Attribute(String attr, boolean inherited, String def) { @@ -463,7 +463,7 @@ public class CSS implements Serializable isInherited = inherited; defaultValue = def; if( attributeMap == null) - attributeMap = new HashMap(); + attributeMap = new HashMap(); attributeMap.put( attr, this ); } diff --git a/libjava/classpath/javax/swing/text/html/CSSBorder.java b/libjava/classpath/javax/swing/text/html/CSSBorder.java index fff6b01..23fcdcc 100644 --- a/libjava/classpath/javax/swing/text/html/CSSBorder.java +++ b/libjava/classpath/javax/swing/text/html/CSSBorder.java @@ -308,7 +308,7 @@ class CSSBorder // Right border. paintBorderLine(g, x + width - right / 2, y, x + width - right / 2, y + height, topStyle, right, rightColor, true); - + } private void paintBorderLine(Graphics g, int x1, int y1, int x2, int y2, diff --git a/libjava/classpath/javax/swing/text/html/CSSParser.java b/libjava/classpath/javax/swing/text/html/CSSParser.java index d49ac3a..5024c7b 100644 --- a/libjava/classpath/javax/swing/text/html/CSSParser.java +++ b/libjava/classpath/javax/swing/text/html/CSSParser.java @@ -43,18 +43,18 @@ import java.io.*; /** * Parses a CSS document. This works by way of a delegate that implements the * CSSParserCallback interface. The delegate is notified of the following - * events: - * - Import statement: handleImport - * - Selectors handleSelector. This is invoked for each string. For example if - * the Reader contained p, bar , a {}, the delegate would be notified 4 times, - * for 'p,' 'bar' ',' and 'a'. - * - When a rule starts, startRule + * events: + * - Import statement: handleImport + * - Selectors handleSelector. This is invoked for each string. For example if + * the Reader contained p, bar , a {}, the delegate would be notified 4 times, + * for 'p,' 'bar' ',' and 'a'. + * - When a rule starts, startRule * - Properties in the rule via the handleProperty. This * is invoked one per property/value key, eg font size: foo;, would cause the - * delegate to be notified once with a value of 'font size'. - * - Values in the rule via the handleValue, this is notified for the total value. + * delegate to be notified once with a value of 'font size'. + * - Values in the rule via the handleValue, this is notified for the total value. * - When a rule ends, endRule - * + * * @author Lillian Angel (langel@redhat.com) */ class CSSParser @@ -68,7 +68,7 @@ class CSSParser { /** * Handles the import statment in the document. - * + * * @param imp - the import string */ public abstract void handleImport(String imp); @@ -85,21 +85,21 @@ class CSSParser /** * Handles the selector of a rule. - * + * * @param selector - the selector in the rule */ public abstract void handleSelector(String selector); /** * Handles the properties in the document. - * + * * @param property - the property in the document. */ public abstract void handleProperty(String property); /** * Handles the values in the document. - * + * * @param value - the value to handle. */ public abstract void handleValue(String value); @@ -212,7 +212,7 @@ class CSSParser /** * Appends a character to the token buffer. - * + * * @param c - the character to append */ private void append(char c) @@ -233,7 +233,7 @@ class CSSParser /** * Fetches the next token. - * + * * @param c - the character to fetch. * @return the location * @throws IOException - any i/o error encountered while reading @@ -276,7 +276,7 @@ class CSSParser /** * Reads a character from the stream. - * + * * @return the number of characters read or -1 if end of stream is reached. * @throws IOException - any i/o encountered while reading */ @@ -293,19 +293,19 @@ class CSSParser /** * Parses the the contents of the reader using the * callback. - * + * * @param reader - the reader to read from * @param callback - the callback instance * @param parsingDeclaration - true if parsing a declaration * @throws IOException - any i/o error from the reader */ - void parse(Reader reader, CSSParser.CSSParserCallback callback, + void parse(Reader reader, CSSParser.CSSParserCallback callback, boolean parsingDeclaration) throws IOException { this.reader = reader; this.callback = callback; - + try { if (!parsingDeclaration) @@ -322,7 +322,7 @@ class CSSParser /** * Skips any white space, returning the character after the white space. - * + * * @return the character after the whitespace * @throws IOException - any i/o error from the reader */ @@ -337,7 +337,7 @@ class CSSParser return next; next = tempNext; } - + // Its all whitespace return END; } @@ -345,7 +345,7 @@ class CSSParser /** * Gets the next statement, returning false if the end is reached. * A statement is either an At-rule, or a ruleset. - * + * * @return false if the end is reached * @throws IOException - any i/o error from the reader */ @@ -368,7 +368,7 @@ class CSSParser parseAtRule(); else parseRuleSet(); - break; + break; case END: return false; } @@ -377,28 +377,28 @@ class CSSParser /** * Parses an @ rule, stopping at a matching brace pair, or ;. - * + * * @throws IOException - any i/o error from the reader */ private void parseAtRule() throws IOException - { - // An At-Rule begins with the "@" character followed immediately by a keyword. - // Following the keyword separated by a space is an At-rule statement appropriate - // to the At-keyword used. If the At-Rule is a simple declarative statement - // (charset, import, fontdef), it is terminated by a semi-colon (";".) - // If the At-Rule is a conditional or informative statement (media, page, font-face), - // it is followed by optional arguments and then a style declaration block inside matching - // curly braces ("{", "}".) At-Rules are sometimes nestable, depending on the context. + { + // An At-Rule begins with the "@" character followed immediately by a keyword. + // Following the keyword separated by a space is an At-rule statement appropriate + // to the At-keyword used. If the At-Rule is a simple declarative statement + // (charset, import, fontdef), it is terminated by a semi-colon (";".) + // If the At-Rule is a conditional or informative statement (media, page, font-face), + // it is followed by optional arguments and then a style declaration block inside matching + // curly braces ("{", "}".) At-Rules are sometimes nestable, depending on the context. // If any part of an At-Rule is not understood, it should be ignored. - + // FIXME: Not Implemented - // call handleimport + // call handleimport } /** - * Parses the next rule set, which is a selector followed by a declaration + * Parses the next rule set, which is a selector followed by a declaration * block. - * + * * @throws IOException - any i/o error from the reader */ private void parseRuleSet() throws IOException @@ -411,9 +411,9 @@ class CSSParser } /** - * Parses a set of selectors, returning false if the end of the stream is + * Parses a set of selectors, returning false if the end of the stream is * reached. - * + * * @return false if the end of stream is reached * @throws IOException - any i/o error from the reader */ @@ -421,13 +421,13 @@ class CSSParser { // FIXME: Not Implemented // call handleselector - return false; + return false; } /** * Parses a declaration block. Which a number of declarations followed by a * })]. - * + * * @throws IOException - any i/o error from the reader */ private void parseDeclarationBlock() throws IOException @@ -439,7 +439,7 @@ class CSSParser /** * Parses a single declaration, which is an identifier a : and another identifier. * This returns the last token seen. - * + * * @returns the last token * @throws IOException - any i/o error from the reader */ @@ -447,13 +447,13 @@ class CSSParser { // call handleValue // FIXME: Not Implemented - return 0; + return 0; } /** * Parses identifiers until c is encountered, returning the ending token, * which will be IDENTIFIER if c is found. - * + * * @param c - the stop character * @param wantsBlocks - true if blocks are wanted * @return the ending token @@ -469,7 +469,7 @@ class CSSParser /** * Parses till a matching block close is encountered. This is only appropriate * to be called at the top level (no nesting). - * + * * @param i - FIXME * @throws IOException - any i/o error from the reader */ @@ -481,7 +481,7 @@ class CSSParser /** * Gets an identifier, returning true if the length of the string is greater * than 0, stopping when c, whitespace, or one of {}()[] is hit. - * + * * @param c - the stop character * @return returns true if the length of the string > 0 * @throws IOException - any i/o error from the reader @@ -494,7 +494,7 @@ class CSSParser /** * Reads till c is encountered, escaping characters as necessary. - * + * * @param c - the stop character * @throws IOException - any i/o error from the reader */ @@ -505,7 +505,7 @@ class CSSParser /** * Parses a comment block. - * + * * @throws IOException - any i/o error from the reader */ private void readComment() throws IOException @@ -516,7 +516,7 @@ class CSSParser /** * Called when a block start is encountered ({[. - * + * * @param start of block */ private void startBlock(int start) @@ -526,7 +526,7 @@ class CSSParser /** * Called when an end block is encountered )]} - * + * * @param end of block */ private void endBlock(int end) @@ -536,18 +536,18 @@ class CSSParser /** * Checks if currently in a block. - * + * * @return true if currently in a block. */ private boolean inBlock() { // FIXME: Not Implemented - return false; + return false; } /** * Supports one character look ahead, this will throw if called twice in a row. - * + * * @param c - the character to push. * @throws IOException - if called twice in a row */ @@ -559,5 +559,3 @@ class CSSParser pushedChar = c; } } - - diff --git a/libjava/classpath/javax/swing/text/html/FormView.java b/libjava/classpath/javax/swing/text/html/FormView.java index ef362bd..61c568f 100644 --- a/libjava/classpath/javax/swing/text/html/FormView.java +++ b/libjava/classpath/javax/swing/text/html/FormView.java @@ -96,7 +96,7 @@ import javax.swing.text.StyleConstants; * JList in JScrollPane * select, size unspecified or == 1JComboBox * textarea, textJTextArea in JScrollPane - * input, fileJTextField + * input, fileJTextField * * * @author Roman Kennke (kennke@aicas.com) @@ -352,7 +352,7 @@ public class FormView /** * If the value attribute of an <input type="submit">> * tag is not specified, then this string is used. - * + * * @deprecated As of JDK1.3 the value is fetched from the UIManager property * FormView.submitButtonText. */ @@ -362,7 +362,7 @@ public class FormView /** * If the value attribute of an <input type="reset">> * tag is not specified, then this string is used. - * + * * @deprecated As of JDK1.3 the value is fetched from the UIManager property * FormView.resetButtonText. */ @@ -638,7 +638,7 @@ public class FormView } else { - data = name + ".x=" + p.x + "&" + name + ".y=" + p.y; + data = name + ".x=" + p.x + "&" + name + ".y=" + p.y; } return data; } diff --git a/libjava/classpath/javax/swing/text/html/HRuleView.java b/libjava/classpath/javax/swing/text/html/HRuleView.java index 3bae5eb..9be1eff 100644 --- a/libjava/classpath/javax/swing/text/html/HRuleView.java +++ b/libjava/classpath/javax/swing/text/html/HRuleView.java @@ -55,15 +55,15 @@ class HRuleView extends InlineView { /** * The null view, indicating, that nothing should be painted ahead the - * breaking point. + * breaking point. */ View nullView; - + /** * The height of the horizontal dash area. */ static int HEIGHT = 4; - + /** * The imaginary invisible view that stays after end of line after the * breaking procedure. It occupies on character. @@ -74,7 +74,7 @@ class HRuleView extends InlineView * The break offset that becomes the views start offset. */ int breakOffset; - + /** * Return the end offset that is always one char after the break offset. */ @@ -82,7 +82,7 @@ class HRuleView extends InlineView { return breakOffset + 1; } - + /** * Return the start offset that has been passed in a constructor. */ @@ -90,10 +90,10 @@ class HRuleView extends InlineView { return breakOffset; } - + /** * Create the new instance of this view. - * + * * @param element the element (inherited from the HR view) * @param offset the position where the HR view has been broken */ @@ -103,7 +103,7 @@ class HRuleView extends InlineView breakOffset = offset; } } - + /** * Creates the new HR view. */ @@ -120,11 +120,11 @@ class HRuleView extends InlineView public int getBreakWeight(int axis, float pos, float len) { if (axis == X_AXIS && ((getEndOffset() - getStartOffset()) > 1)) - return ForcedBreakWeight; + return ForcedBreakWeight; else - return BadBreakWeight; + return BadBreakWeight; } - + /** * Draws the double line, upped black and the lower light gray. */ @@ -143,7 +143,7 @@ class HRuleView extends InlineView g.setColor(Color.black); g.drawLine(x, y++, w, h++); - g.setColor(Color.lightGray); + g.setColor(Color.lightGray); g.drawLine(x, y, w, h); } @@ -160,7 +160,7 @@ class HRuleView extends InlineView else return this; } - + /** * Returns the width of the container for the horizontal axis and the * thickness of the dash area for the vertical axis. @@ -176,7 +176,7 @@ class HRuleView extends InlineView return 640; } else - return HEIGHT; + return HEIGHT; } /** diff --git a/libjava/classpath/javax/swing/text/html/HTMLDocument.java b/libjava/classpath/javax/swing/text/html/HTMLDocument.java index f3d3ce3..9545be4 100644 --- a/libjava/classpath/javax/swing/text/html/HTMLDocument.java +++ b/libjava/classpath/javax/swing/text/html/HTMLDocument.java @@ -76,7 +76,7 @@ import javax.swing.text.html.HTML.Tag; * data structure when it is needed to parse HTML and then obtain the content of * the certain types of tags. This class also has methods for modifying the HTML * content. - * + * * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) * @author Anthony Balkissoon (abalkiss@redhat.com) * @author Lillian Angel (langel@redhat.com) @@ -85,7 +85,7 @@ public class HTMLDocument extends DefaultStyledDocument { /** A key for document properies. The value for the key is * a Vector of Strings of comments not found in the body. - */ + */ public static final String AdditionalComments = "AdditionalComments"; URL baseURL = null; boolean preservesUnknownTags = true; @@ -110,22 +110,22 @@ public class HTMLDocument extends DefaultStyledDocument { this(new GapContent(BUFFER_SIZE_DEFAULT), new StyleSheet()); } - + /** - * Constructs an HTML document with the default content storage + * Constructs an HTML document with the default content storage * implementation and the specified style/attribute storage mechanism. - * + * * @param styles - the style sheet */ public HTMLDocument(StyleSheet styles) { this(new GapContent(BUFFER_SIZE_DEFAULT), styles); } - + /** - * Constructs an HTML document with the given content storage implementation + * Constructs an HTML document with the given content storage implementation * and the given style/attribute storage mechanism. - * + * * @param c - the document's content * @param styles - the style sheet */ @@ -133,21 +133,21 @@ public class HTMLDocument extends DefaultStyledDocument { super(c, styles); } - + /** - * Gets the style sheet with the document display rules (CSS) that were specified + * Gets the style sheet with the document display rules (CSS) that were specified * in the HTML document. - * + * * @return - the style sheet */ public StyleSheet getStyleSheet() { return (StyleSheet) getAttributeContext(); } - + /** * This method creates a root element for the new document. - * + * * @return the new default root */ protected AbstractElement createDefaultRoot() @@ -180,12 +180,12 @@ public class HTMLDocument extends DefaultStyledDocument return html; } - + /** * This method returns an HTMLDocument.RunElement object attached to - * parent representing a run of text from p0 to p1. The run has + * parent representing a run of text from p0 to p1. The run has * attributes described by a. - * + * * @param parent - the parent element * @param a - the attributes for the element * @param p0 - the beginning of the range >= 0 @@ -202,7 +202,7 @@ public class HTMLDocument extends DefaultStyledDocument /** * This method returns an HTMLDocument.BlockElement object representing the * attribute set a and attached to parent. - * + * * @param parent - the parent element * @param a - the attributes for the element * @@ -212,20 +212,20 @@ public class HTMLDocument extends DefaultStyledDocument { return new BlockElement(parent, a); } - + /** * Returns the parser used by this HTMLDocument to insert HTML. - * + * * @return the parser used by this HTMLDocument to insert HTML. */ public HTMLEditorKit.Parser getParser() { - return parser; + return parser; } - + /** * Sets the parser used by this HTMLDocument to insert HTML. - * + * * @param p the parser to use */ public void setParser (HTMLEditorKit.Parser p) @@ -235,25 +235,25 @@ public class HTMLDocument extends DefaultStyledDocument /** * Sets the number of tokens to buffer before trying to display the * Document. - * + * * @param n the number of tokens to buffer */ public void setTokenThreshold (int n) { tokenThreshold = n; } - + /** * Returns the number of tokens that are buffered before the document * is rendered. - * + * * @return the number of tokens buffered */ public int getTokenThreshold () { return tokenThreshold; } - + /** * Returns the location against which to resolve relative URLs. * This is the document's URL if the document was loaded from a URL. @@ -264,7 +264,7 @@ public class HTMLDocument extends DefaultStyledDocument { return baseURL; } - + /** * Sets the location against which to resolve relative URLs. * @param u the new base URL @@ -274,7 +274,7 @@ public class HTMLDocument extends DefaultStyledDocument baseURL = u; getStyleSheet().setBase(u); } - + /** * Returns whether or not the parser preserves unknown HTML tags. * @return true if the parser preserves unknown tags @@ -283,7 +283,7 @@ public class HTMLDocument extends DefaultStyledDocument { return preservesUnknownTags; } - + /** * Sets the behaviour of the parser when it encounters unknown HTML tags. * @param preservesTags true if the parser should preserve unknown tags. @@ -292,7 +292,7 @@ public class HTMLDocument extends DefaultStyledDocument { preservesUnknownTags = preservesTags; } - + /** * An iterator to iterate through LeafElements in the document. */ @@ -308,7 +308,7 @@ public class HTMLDocument extends DefaultStyledDocument tag = t; it = new ElementIterator(doc); } - + /** * Return the attributes for the tag associated with this iteartor * @return the AttributeSet @@ -464,7 +464,7 @@ public class HTMLDocument extends DefaultStyledDocument { int start = el.getStartOffset(); int end = el.getEndOffset(); - + StringBuilder html = new StringBuilder(); html.append("AttributeSet (null if none found). */ public abstract AttributeSet getAttributes(); - + /** * Get the end of the range for the current occurrence of the tag * being defined and having the same attributes. * @return the end of the range */ public abstract int getEndOffset(); - + /** * Get the start of the range for the current occurrence of the tag * being defined and having the same attributes. * @return the start of the range (-1 if it can't be found). */ public abstract int getStartOffset(); - + /** * Move the iterator forward. */ public abstract void next(); - + /** * Indicates whether or not the iterator currently represents an occurrence * of the tag. @@ -537,33 +537,33 @@ public class HTMLDocument extends DefaultStyledDocument * tag. */ public abstract boolean isValid(); - + /** * Type of tag this iterator represents. * @return the tag. */ public abstract HTML.Tag getTag(); } - + public class BlockElement extends AbstractDocument.BranchElement { public BlockElement (Element parent, AttributeSet a) { super(parent, a); } - + /** - * Gets the resolving parent. Since HTML attributes are not + * Gets the resolving parent. Since HTML attributes are not * inherited at the model level, this returns null. */ public AttributeSet getResolveParent() { return null; } - + /** * Gets the name of the element. - * + * * @return the name of the element if it exists, null otherwise. */ public String getName() @@ -579,29 +579,29 @@ public class HTMLDocument extends DefaultStyledDocument } /** - * RunElement represents a section of text that has a set of + * RunElement represents a section of text that has a set of * HTML character level attributes assigned to it. */ public class RunElement extends AbstractDocument.LeafElement { - + /** * Constructs an element that has no children. It represents content * within the document. - * + * * @param parent - parent of this * @param a - elements attributes * @param start - the start offset >= 0 - * @param end - the end offset + * @param end - the end offset */ public RunElement(Element parent, AttributeSet a, int start, int end) { super(parent, a, start, end); } - + /** * Gets the name of the element. - * + * * @return the name of the element if it exists, null otherwise. */ public String getName() @@ -614,11 +614,11 @@ public class HTMLDocument extends DefaultStyledDocument name = super.getName(); return name; } - + /** * Gets the resolving parent. HTML attributes do not inherit at the * model level, so this method returns null. - * + * * @return null */ public AttributeSet getResolveParent() @@ -626,10 +626,10 @@ public class HTMLDocument extends DefaultStyledDocument return null; } } - + /** * A reader to load an HTMLDocument with HTML structure. - * + * * @author Anthony Balkissoon abalkiss at redhat dot com */ public class HTMLReader extends HTMLEditorKit.ParserCallback @@ -648,51 +648,51 @@ public class HTMLDocument extends DefaultStyledDocument * Holds the current character attribute set * */ protected MutableAttributeSet charAttr = new SimpleAttributeSet(); - - protected Vector parseBuffer = new Vector(); + + protected Vector parseBuffer = new Vector(); /** * The parse stack. It holds the current element tree path. */ private Stack parseStack = new Stack(); - /** + /** * A stack for character attribute sets * */ Stack charAttrStack = new Stack(); - + /** A mapping between HTML.Tag objects and the actions that handle them **/ HashMap tagToAction; - + /** Tells us whether we've received the '' tag yet **/ boolean endHTMLEncountered = false; - - /** - * Related to the constructor with explicit insertTag + + /** + * Related to the constructor with explicit insertTag */ int popDepth; - + /** * Related to the constructor with explicit insertTag - */ + */ int pushDepth; - - /** + + /** * Related to the constructor with explicit insertTag - */ + */ int offset; - + /** * The tag (inclusve), after that the insertion should start. */ HTML.Tag insertTag; - + /** * This variable becomes true after the insert tag has been encountered. */ boolean insertTagEncountered; - + /** A temporary variable that helps with the printing out of debug information **/ boolean debug = false; @@ -767,7 +767,7 @@ public class HTMLDocument extends DefaultStyledDocument { // Nothing to do here. } - + /** * Called when an end tag is seen for one of the types of tags associated * with this Action. By default does nothing. @@ -779,7 +779,7 @@ public class HTMLDocument extends DefaultStyledDocument } public class BlockAction extends TagAction - { + { /** * This method is called when a start tag is seen for one of the types * of tags associated with this Action. @@ -789,7 +789,7 @@ public class HTMLDocument extends DefaultStyledDocument // Tell the parse buffer to open a new block for this tag. blockOpen(t, a); } - + /** * Called when an end tag is seen for one of the types of tags associated * with this Action. @@ -800,7 +800,7 @@ public class HTMLDocument extends DefaultStyledDocument blockClose(t); } } - + public class CharacterAction extends TagAction { /** @@ -827,7 +827,7 @@ public class HTMLDocument extends DefaultStyledDocument public void end(HTML.Tag t) { popCharacterStyle(); - } + } } /** @@ -909,7 +909,7 @@ public class HTMLDocument extends DefaultStyledDocument super.start(t, a); } } - + /** * Called when an end tag is seen for one of the types of tags associated * with this Action. @@ -1012,7 +1012,7 @@ public class HTMLDocument extends DefaultStyledDocument { super.end(t); buttonGroups = null; - } + } } /** @@ -1035,7 +1035,7 @@ public class HTMLDocument extends DefaultStyledDocument { blockOpen(t, a); } - + /** * Called when an end tag is seen for one of the types of tags associated * with this Action. @@ -1043,7 +1043,7 @@ public class HTMLDocument extends DefaultStyledDocument public void end(HTML.Tag t) { blockClose(t); - } + } } /** @@ -1062,7 +1062,7 @@ public class HTMLDocument extends DefaultStyledDocument blockClose(HTML.Tag.IMPLIED); } } - + public class ParagraphAction extends BlockAction { /** @@ -1073,7 +1073,7 @@ public class HTMLDocument extends DefaultStyledDocument { super.start(t, a); } - + /** * Called when an end tag is seen for one of the types of tags associated * with this Action. @@ -1081,7 +1081,7 @@ public class HTMLDocument extends DefaultStyledDocument public void end(HTML.Tag t) { super.end(t); - } + } } /** @@ -1100,7 +1100,7 @@ public class HTMLDocument extends DefaultStyledDocument a.addAttribute(CSS.Attribute.WHITE_SPACE, "pre"); blockOpen(HTML.Tag.IMPLIED, a); } - + /** * Called when an end tag is seen for one of the types of tags associated * with this Action. @@ -1110,11 +1110,11 @@ public class HTMLDocument extends DefaultStyledDocument blockClose(HTML.Tag.IMPLIED); inPreTag = false; blockClose(t); - } + } } - + /** - * Inserts the elements that are represented by ths single tag with + * Inserts the elements that are represented by ths single tag with * attributes (only). The closing tag, even if present, mut follow * immediately after the starting tag without providing any additional * information. Hence the {@link TagAction#end} method need not be @@ -1130,7 +1130,7 @@ public class HTMLDocument extends DefaultStyledDocument addSpecialElement(t, a); } } - + class AreaAction extends TagAction { /** @@ -1142,7 +1142,7 @@ public class HTMLDocument extends DefaultStyledDocument { // FIXME: Implement. } - + /** * Called when an end tag is seen for one of the types of tags associated * with this Action. @@ -1151,7 +1151,7 @@ public class HTMLDocument extends DefaultStyledDocument throws NotImplementedException { // FIXME: Implement. - } + } } /** @@ -1200,7 +1200,7 @@ public class HTMLDocument extends DefaultStyledDocument baseTarget = (String) a.getAttribute(HTML.Attribute.TARGET); } } - + class HeadAction extends BlockAction { /** @@ -1213,7 +1213,7 @@ public class HTMLDocument extends DefaultStyledDocument // FIXME: Implement. super.start(t, a); } - + /** * Called when an end tag is seen for one of the types of tags associated * with this Action. @@ -1234,7 +1234,7 @@ public class HTMLDocument extends DefaultStyledDocument super.end(t); } } - + class LinkAction extends HiddenAction { /** @@ -1295,13 +1295,13 @@ public class HTMLDocument extends DefaultStyledDocument ex.printStackTrace(); } } - } + } } } } - + } - + class MapAction extends TagAction { /** @@ -1313,7 +1313,7 @@ public class HTMLDocument extends DefaultStyledDocument { // FIXME: Implement. } - + /** * Called when an end tag is seen for one of the types of tags associated * with this Action. @@ -1322,9 +1322,9 @@ public class HTMLDocument extends DefaultStyledDocument throws NotImplementedException { // FIXME: Implement. - } + } } - + class MetaAction extends TagAction { /** @@ -1336,7 +1336,7 @@ public class HTMLDocument extends DefaultStyledDocument { // FIXME: Implement. } - + /** * Called when an end tag is seen for one of the types of tags associated * with this Action. @@ -1345,7 +1345,7 @@ public class HTMLDocument extends DefaultStyledDocument throws NotImplementedException { // FIXME: Implement. - } + } } class StyleAction extends TagAction @@ -1358,7 +1358,7 @@ public class HTMLDocument extends DefaultStyledDocument { inStyleTag = true; } - + /** * Called when an end tag is seen for one of the types of tags associated * with this Action. @@ -1366,9 +1366,9 @@ public class HTMLDocument extends DefaultStyledDocument public void end(HTML.Tag t) { inStyleTag = false; - } + } } - + class TitleAction extends TagAction { /** @@ -1380,7 +1380,7 @@ public class HTMLDocument extends DefaultStyledDocument { // FIXME: Implement. } - + /** * Called when an end tag is seen for one of the types of tags associated * with this Action. @@ -1389,14 +1389,14 @@ public class HTMLDocument extends DefaultStyledDocument throws NotImplementedException { // FIXME: Implement. - } - } - + } + } + public HTMLReader(int offset) { this (offset, 0, 0, null); } - + public HTMLReader(int offset, int popDepth, int pushDepth, HTML.Tag insertTag) { @@ -1407,7 +1407,7 @@ public class HTMLDocument extends DefaultStyledDocument threshold = getTokenThreshold(); initTags(); } - + void initTags() { tagToAction = new HashMap(72); @@ -1427,7 +1427,7 @@ public class HTMLDocument extends DefaultStyledDocument MetaAction metaAction = new MetaAction(); StyleAction styleAction = new StyleAction(); TitleAction titleAction = new TitleAction(); - + ConvertAction convertAction = new ConvertAction(); tagToAction.put(HTML.Tag.A, characterAction); tagToAction.put(HTML.Tag.ADDRESS, characterAction); @@ -1486,7 +1486,7 @@ public class HTMLDocument extends DefaultStyledDocument tagToAction.put(HTML.Tag.SELECT, formAction); tagToAction.put(HTML.Tag.SMALL, characterAction); tagToAction.put(HTML.Tag.STRIKE, characterAction); - tagToAction.put(HTML.Tag.S, characterAction); + tagToAction.put(HTML.Tag.S, characterAction); tagToAction.put(HTML.Tag.STRONG, characterAction); tagToAction.put(HTML.Tag.STYLE, styleAction); tagToAction.put(HTML.Tag.SUB, characterAction); @@ -1502,7 +1502,7 @@ public class HTMLDocument extends DefaultStyledDocument tagToAction.put(HTML.Tag.UL, blockAction); tagToAction.put(HTML.Tag.VAR, characterAction); } - + /** * Pushes the current character style onto the stack. * @@ -1511,9 +1511,9 @@ public class HTMLDocument extends DefaultStyledDocument { charAttrStack.push(charAttr.copyAttributes()); } - + /** - * Pops a character style off of the stack and uses it as the + * Pops a character style off of the stack and uses it as the * current character style. * */ @@ -1522,12 +1522,12 @@ public class HTMLDocument extends DefaultStyledDocument if (!charAttrStack.isEmpty()) charAttr = (MutableAttributeSet) charAttrStack.pop(); } - + /** * Registers a given tag with a given Action. All of the well-known tags * are registered by default, but this method can change their behaviour * or add support for custom or currently unsupported tags. - * + * * @param t the Tag to register * @param a the Action for the Tag */ @@ -1535,7 +1535,7 @@ public class HTMLDocument extends DefaultStyledDocument { tagToAction.put (t, a); } - + /** * This is the last method called on the HTMLReader, allowing any pending * changes to be flushed to the HTMLDocument. @@ -1565,9 +1565,9 @@ public class HTMLDocument extends DefaultStyledDocument } /** - * This method is called by the parser to indicate a block of + * This method is called by the parser to indicate a block of * text was encountered. Should insert the text appropriately. - * + * * @param data the text that was inserted * @param pos the position at which the text was inserted */ @@ -1589,15 +1589,15 @@ public class HTMLDocument extends DefaultStyledDocument } else addContent(data, 0, data.length); - + } } - + /** * Checks if the HTML tag should be inserted. The tags before insert tag (if * specified) are not inserted. Also, the tags after the end of the html are * not inserted. - * + * * @return true if the tag should be inserted, false otherwise. */ private boolean shouldInsert() @@ -1605,11 +1605,11 @@ public class HTMLDocument extends DefaultStyledDocument return ! endHTMLEncountered && (insertTagEncountered || insertTag == null); } - + /** * This method is called by the parser and should route the call to the * proper handler for the tag. - * + * * @param t the HTML.Tag * @param a the attribute set * @param pos the position at which the tag was encountered @@ -1626,10 +1626,10 @@ public class HTMLDocument extends DefaultStyledDocument action.start(t, a); } } - + /** * This method called by parser to handle a comment block. - * + * * @param data the comment * @param pos the position at which the comment was encountered */ @@ -1645,11 +1645,11 @@ public class HTMLDocument extends DefaultStyledDocument } } } - + /** * This method is called by the parser and should route the call to the * proper handler for the tag. - * + * * @param t the HTML.Tag * @param pos the position at which the tag was encountered */ @@ -1666,11 +1666,11 @@ public class HTMLDocument extends DefaultStyledDocument action.end(t); } } - + /** * This is a callback from the parser that should be routed to the * appropriate handler for the tag. - * + * * @param t the HTML.Tag that was encountered * @param a the attribute set * @param pos the position at which the tag was encountered @@ -1690,12 +1690,12 @@ public class HTMLDocument extends DefaultStyledDocument } } } - + /** * This is invoked after the stream has been parsed but before it has been * flushed. - * - * @param eol one of \n, \r, or \r\n, whichever was encountered the most in + * + * @param eol one of \n, \r, or \r\n, whichever was encountered the most in * parsing the stream * @since 1.3 */ @@ -1703,11 +1703,11 @@ public class HTMLDocument extends DefaultStyledDocument { // FIXME: Implement. } - + /** * Adds the given text to the textarea document. Called only when we are - * within a textarea. - * + * within a textarea. + * * @param data the text to add to the textarea */ protected void textAreaContent(char[] data) @@ -1726,7 +1726,7 @@ public class HTMLDocument extends DefaultStyledDocument assert false; } } - + /** * Adds the given text that was encountered in a

     element.
          * This adds synthesized lines to hold the text runs.
    @@ -1754,11 +1754,11 @@ public class HTMLDocument extends DefaultStyledDocument
               addContent(data, start, data.length - start);
             }
         }
    -    
    +
         /**
    -     * Instructs the parse buffer to create a block element with the given 
    +     * Instructs the parse buffer to create a block element with the given
          * attributes.
    -     * 
    +     *
          * @param t the tag that requires opening a new block
          * @param attr the attribute set for the new block
          */
    @@ -1809,9 +1809,9 @@ public class HTMLDocument extends DefaultStyledDocument
         }
     
         /**
    -     * Instructs the parse buffer to close the block element associated with 
    +     * Instructs the parse buffer to close the block element associated with
          * the given HTML.Tag
    -     * 
    +     *
          * @param t the HTML.Tag that is closing its block
          */
         protected void blockClose(HTML.Tag t)
    @@ -1837,14 +1837,14 @@ public class HTMLDocument extends DefaultStyledDocument
             }
     
           element = new DefaultStyledDocument.ElementSpec(null,
    -				DefaultStyledDocument.ElementSpec.EndTagType);
    +                                DefaultStyledDocument.ElementSpec.EndTagType);
           parseBuffer.addElement(element);
         }
    -    
    +
         /**
          * Adds text to the appropriate context using the current character
          * attribute set.
    -     * 
    +     *
          * @param data the text to add
          * @param offs the offset at which to add it
          * @param length the length of the text to add
    @@ -1853,11 +1853,11 @@ public class HTMLDocument extends DefaultStyledDocument
         {
           addContent(data, offs, length, true);
         }
    -    
    +
         /**
          * Adds text to the appropriate context using the current character
          * attribute set, and possibly generating an IMPLIED Tag if necessary.
    -     * 
    +     *
          * @param data the text to add
          * @param offs the offset at which to add it
          * @param length the length of the text to add
    @@ -1876,7 +1876,7 @@ public class HTMLDocument extends DefaultStyledDocument
           DefaultStyledDocument.ElementSpec element;
           AttributeSet attributes = null;
     
    -      // Copy the attribute set, don't use the same object because 
    +      // Copy the attribute set, don't use the same object because
           // it may change
           if (charAttr != null)
             attributes = charAttr.copyAttributes();
    @@ -1887,7 +1887,7 @@ public class HTMLDocument extends DefaultStyledDocument
           element = new DefaultStyledDocument.ElementSpec(attributes,
                                     DefaultStyledDocument.ElementSpec.ContentType,
                                     data, offs, length);
    -      
    +
           // Add the element to the buffer
           parseBuffer.addElement(element);
     
    @@ -1905,10 +1905,10 @@ public class HTMLDocument extends DefaultStyledDocument
                 }
             }
         }
    -    
    +
         /**
          * Adds content that is specified in the attribute set.
    -     * 
    +     *
          * @param t the HTML.Tag
          * @param a the attribute set specifying the special content
          */
    @@ -1920,37 +1920,37 @@ public class HTMLDocument extends DefaultStyledDocument
             }
     
           a.addAttribute(StyleConstants.NameAttribute, t);
    -      
    +
           // The two spaces are required because some special elements like HR
           // must be broken. At least two characters are needed to break into the
           // two parts.
           DefaultStyledDocument.ElementSpec spec =
             new DefaultStyledDocument.ElementSpec(a.copyAttributes(),
    -	  DefaultStyledDocument.ElementSpec.ContentType, 
    +          DefaultStyledDocument.ElementSpec.ContentType,
               new char[] {' '}, 0, 1 );
           parseBuffer.add(spec);
         }
    -    
    +
       }
    -  
    +
       /**
    -   * Gets the reader for the parser to use when loading the document with HTML. 
    -   * 
    +   * Gets the reader for the parser to use when loading the document with HTML.
    +   *
        * @param pos - the starting position
        * @return - the reader
        */
       public HTMLEditorKit.ParserCallback getReader(int pos)
       {
         return new HTMLReader(pos);
    -  }  
    -  
    +  }
    +
       /**
    -   * Gets the reader for the parser to use when loading the document with HTML. 
    -   * 
    +   * Gets the reader for the parser to use when loading the document with HTML.
    +   *
        * @param pos - the starting position
        * @param popDepth - the number of EndTagTypes to generate before inserting
    -   * @param pushDepth - the number of StartTagTypes with a direction 
    -   * of JoinNextDirection that should be generated before inserting, 
    +   * @param pushDepth - the number of StartTagTypes with a direction
    +   * of JoinNextDirection that should be generated before inserting,
        * but after the end tags have been generated.
        * @param insertTag - the first tag to start inserting into document
        * @return - the reader
    @@ -1962,13 +1962,13 @@ public class HTMLDocument extends DefaultStyledDocument
       {
         return new HTMLReader(pos, popDepth, pushDepth, insertTag);
       }
    -  
    +
       /**
        * Gets the reader for the parser to use when inserting the HTML fragment into
        * the document. Checks if the parser is present, sets the parent in the
        * element stack and removes any actions for BODY (it can be only one body in
        * a HTMLDocument).
    -   * 
    +   *
        * @param pos - the starting position
        * @param popDepth - the number of EndTagTypes to generate before inserting
        * @param pushDepth - the number of StartTagTypes with a direction of
    @@ -2009,14 +2009,14 @@ public class HTMLDocument extends DefaultStyledDocument
               super.handleEndTag(t, pos);
           }
         };
    -      
    +
         return reader;
    -  }   
    -  
    +  }
    +
       /**
        * Gets the child element that contains the attribute with the value or null.
        * Not thread-safe.
    -   * 
    +   *
        * @param e - the element to begin search at
        * @param attribute - the desired attribute
        * @param value - the desired value
    @@ -2029,14 +2029,14 @@ public class HTMLDocument extends DefaultStyledDocument
           {
             if (e.getAttributes().containsAttribute(attribute, value))
               return e;
    -        
    +
             int count = e.getElementCount();
             for (int j = 0; j < count; j++)
               {
                 Element child = e.getElement(j);
                 if (child.getAttributes().containsAttribute(attribute, value))
                   return child;
    -            
    +
                 Element grandChild = getElement(child, attribute, value);
                 if (grandChild != null)
                   return grandChild;
    @@ -2044,13 +2044,13 @@ public class HTMLDocument extends DefaultStyledDocument
           }
         return null;
       }
    -  
    +
       /**
        * Returns the element that has the given id Attribute (for instance, <p id
        * ='my paragraph >'). If it is not found, null is returned. The HTML tag,
        * having this attribute, is not checked by this method and can be any. The
        * method is not thread-safe.
    -   * 
    +   *
        * @param attrId - the value of the attribute id to look for
        * @return the element that has the given id.
        */
    @@ -2059,25 +2059,25 @@ public class HTMLDocument extends DefaultStyledDocument
         return getElement(getDefaultRootElement(), HTML.Attribute.ID,
                           attrId);
       }
    -  
    +
       /**
        * Replaces the children of the given element with the contents of
        * the string. The document must have an HTMLEditorKit.Parser set.
        * This will be seen as at least two events, n inserts followed by a remove.
    -   * 
    +   *
        * @param elem - the brance element whose children will be replaced
        * @param htmlText - the string to be parsed and assigned to element.
        * @throws BadLocationException
        * @throws IOException
    -   * @throws IllegalArgumentException - if elem is a leaf 
    +   * @throws IllegalArgumentException - if elem is a leaf
        * @throws IllegalStateException - if an HTMLEditorKit.Parser has not been set
        */
    -  public void setInnerHTML(Element elem, String htmlText) 
    +  public void setInnerHTML(Element elem, String htmlText)
         throws BadLocationException, IOException
       {
         if (elem.isLeaf())
           throw new IllegalArgumentException("Element is a leaf");
    -    
    +
         int start = elem.getStartOffset();
         int end = elem.getEndOffset();
     
    @@ -2086,18 +2086,18 @@ public class HTMLDocument extends DefaultStyledDocument
     
         // TODO charset
         getParser().parse(new StringReader(htmlText), reader, true);
    -    
    +
         // Remove the previous content
         remove(start, end - start);
       }
    -  
    +
       /**
        * Replaces the given element in the parent with the string. When replacing a
        * leaf, this will attempt to make sure there is a newline present if one is
        * needed. This may result in an additional element being inserted. This will
        * be seen as at least two events, n inserts followed by a remove. The
        * HTMLEditorKit.Parser must be set.
    -   * 
    +   *
        * @param elem - the branch element whose parent will be replaced
        * @param htmlText - the string to be parsed and assigned to elem
        * @throws BadLocationException
    @@ -2112,18 +2112,18 @@ public void setOuterHTML(Element elem, String htmlText)
         int end = elem.getEndOffset();
     
         remove(start, end-start);
    -       
    +
         HTMLEditorKit.ParserCallback reader = getInsertingReader(
           start, 0, 0, HTML.Tag.BODY, elem);
     
         // TODO charset
         getParser().parse(new StringReader(htmlText), reader, true);
       }
    -  
    +
       /**
        * Inserts the string before the start of the given element. The parser must
        * be set.
    -   * 
    +   *
        * @param elem - the element to be the root for the new text.
        * @param htmlText - the string to be parsed and assigned to elem
        * @throws BadLocationException
    @@ -2139,12 +2139,12 @@ public void setOuterHTML(Element elem, String htmlText)
         // TODO charset
         getParser().parse(new StringReader(htmlText), reader, true);
       }
    -  
    +
       /**
        * Inserts the string at the end of the element. If elem's children are
        * leaves, and the character at elem.getEndOffset() - 1 is a newline, then it
        * will be inserted before the newline. The parser must be set.
    -   * 
    +   *
        * @param elem - the element to be the root for the new text
        * @param htmlText - the text to insert
        * @throws BadLocationException
    @@ -2161,11 +2161,11 @@ public void setOuterHTML(Element elem, String htmlText)
         getParser().parse(new StringReader(htmlText), reader, true);
     
       }
    -  
    +
       /**
        * Inserts the string after the end of the given element.
        * The parser must be set.
    -   * 
    +   *
        * @param elem - the element to be the root for the new text
        * @param htmlText - the text to insert
        * @throws BadLocationException
    @@ -2181,11 +2181,11 @@ public void setOuterHTML(Element elem, String htmlText)
         // TODO charset
         getParser().parse(new StringReader(htmlText), reader, true);
       }
    -  
    +
       /**
        * Inserts the string at the start of the element.
        * The parser must be set.
    -   * 
    +   *
        * @param elem - the element to be the root for the new text
        * @param htmlText - the text to insert
        * @throws BadLocationException
    diff --git a/libjava/classpath/javax/swing/text/html/HTMLEditorKit.java b/libjava/classpath/javax/swing/text/html/HTMLEditorKit.java
    index 45381d60..e3505d3 100644
    --- a/libjava/classpath/javax/swing/text/html/HTMLEditorKit.java
    +++ b/libjava/classpath/javax/swing/text/html/HTMLEditorKit.java
    @@ -89,7 +89,7 @@ public class HTMLEditorKit
       extends StyledEditorKit
       implements Serializable, Cloneable, Accessible
     {
    -  
    +
       /**
        * Fires the hyperlink events on the associated component
        * when needed.
    @@ -107,16 +107,16 @@ public class HTMLEditorKit
           /**
            * Constructor
            */
    -      public LinkController() 
    +      public LinkController()
           {
             super();
           }
    -      
    +
           /**
            * Dispatched when the mouse is clicked. If the component
            * is read-only, then the clicked event is used to drive an
            * attempt to follow the reference specified by a link
    -       * 
    +       *
            * @param e - the mouse event
            */
           public void mouseClicked(MouseEvent e)
    @@ -130,20 +130,20 @@ public class HTMLEditorKit
                   activateLink(pos, editor, e.getX(), e.getY());
               }
           }
    -      
    +
           /**
            * Dispatched when the mouse is dragged on a component.
    -       * 
    +       *
            * @param e - the mouse event.
            */
           public void mouseDragged(MouseEvent e)
           {
             // Nothing to do here.
           }
    -      
    +
           /**
            * Dispatched when the mouse cursor has moved into the component.
    -       * 
    +       *
            * @param e - the mouse event.
            */
           public void mouseMoved(MouseEvent e)
    @@ -248,7 +248,7 @@ public class HTMLEditorKit
                 if (event != null)
                   editor.fireHyperlinkUpdate(event);
               }
    -        
    +
           }
     
           /**
    @@ -275,7 +275,7 @@ public class HTMLEditorKit
               {
                 URL base = doc.getBase();
                 url = new URL(base, href);
    -            
    +
               }
             catch (MalformedURLException ex)
               {
    @@ -303,11 +303,11 @@ public class HTMLEditorKit
             return ev;
           }
         }
    -  
    +
       /**
        * This class is used to insert a string of HTML into an existing
        * document. At least 2 HTML.Tags need to be supplied. The first Tag (parentTag)
    -   * identifies the parent in the document to add the elements to. The second, (addTag), 
    +   * identifies the parent in the document to add the elements to. The second, (addTag),
        * identifies that the first tag should be added to the document as seen in the string.
        * The parser will generate all appropriate (opening/closing tags_ even if they are not
        * in the HTML string passed in.
    @@ -315,28 +315,28 @@ public class HTMLEditorKit
       public static class InsertHTMLTextAction
         extends HTMLTextAction
         {
    -      
    +
           /**
            * Tag in HTML to start adding tags from.
            */
           protected HTML.Tag addTag;
    -      
    +
           /**
            * Alternate tag in HTML to start adding tags from if parentTag is
            * not found and alternateParentTag is not found.
    -       */      
    +       */
           protected HTML.Tag alternateAddTag;
    -      
    +
           /**
            * Alternate tag to check if parentTag is not found.
            */
           protected HTML.Tag alternateParentTag;
    -      
    +
           /**
            * HTML to insert.
            */
           protected String html;
    -      
    +
           /**
            * Tag to check for in the document.
            */
    @@ -344,21 +344,21 @@ public class HTMLEditorKit
     
           /**
            * Initializes all fields.
    -       * 
    +       *
            * @param name - the name of the document.
            * @param html - the html to insert
            * @param parentTag - the parent tag to check for
            * @param addTag - the tag to start adding from
            */
    -      public InsertHTMLTextAction(String name, String html, 
    +      public InsertHTMLTextAction(String name, String html,
                                       HTML.Tag parentTag, HTML.Tag addTag)
           {
             this(name, html, parentTag, addTag, null, null);
           }
    -      
    +
           /**
            * Initializes all fields and calls super
    -       * 
    +       *
            * @param name - the name of the document.
            * @param html - the html to insert
            * @param parentTag - the parent tag to check for
    @@ -366,9 +366,9 @@ public class HTMLEditorKit
            * @param alternateParentTag - the alternate parent tag
            * @param alternateAddTag - the alternate add tag
            */
    -      public InsertHTMLTextAction(String name, String html, HTML.Tag parentTag, 
    -                                  HTML.Tag addTag, HTML.Tag alternateParentTag, 
    -                                  HTML.Tag alternateAddTag) 
    +      public InsertHTMLTextAction(String name, String html, HTML.Tag parentTag,
    +                                  HTML.Tag addTag, HTML.Tag alternateParentTag,
    +                                  HTML.Tag alternateAddTag)
           {
             super(name);
             // Fields are for easy access when the action is applied to an actual
    @@ -379,11 +379,11 @@ public class HTMLEditorKit
             this.alternateParentTag = alternateParentTag;
             this.alternateAddTag = alternateAddTag;
           }
    -      
    +
           /**
            * HTMLEditorKit.insertHTML is called. If an exception is
            * thrown, it is wrapped in a RuntimeException and thrown.
    -       * 
    +       *
            * @param editor - the editor to use to get the editorkit
            * @param doc -
            *          the Document to insert the HTML into.
    @@ -419,12 +419,12 @@ public class HTMLEditorKit
                                                   + offset).initCause(ex);
               }
           }
    -      
    +
           /**
            * Invoked when inserting at a boundary. Determines the number of pops,
            * and then the number of pushes that need to be performed. The it calls
            * insertHTML.
    -       * 
    +       *
            * @param editor -
            *          the editor to use to get the editorkit
            * @param doc -
    @@ -449,12 +449,12 @@ public class HTMLEditorKit
             insertAtBoundry(editor, doc, offset, insertElement,
                             html, parentTag, addTag);
           }
    -      
    +
           /**
    -       * Invoked when inserting at a boundary. Determines the number of pops, 
    +       * Invoked when inserting at a boundary. Determines the number of pops,
            * and then the number of pushes that need to be performed. The it calls
            * insertHTML.
    -       * 
    +       *
            * @param editor - the editor to use to get the editorkit
            * @param doc -
            *          the Document to insert the HTML into.
    @@ -464,7 +464,7 @@ public class HTMLEditorKit
            * @param html - the html to insert
            * @param parentTag - the parent tag
            * @param addTag - the first tag
    -       * 
    +       *
            * @deprecated as of v1.3, use insertAtBoundary
            */
           protected void insertAtBoundry(JEditorPane editor,
    @@ -518,10 +518,10 @@ public class HTMLEditorKit
                 insertHTML(editor, doc, offset, html, pops, pushes, addTag);
               }
           }
    -      
    +
           /**
            * Inserts the HTML.
    -       * 
    +       *
            * @param ae - the action performed
            */
           public void actionPerformed(ActionEvent ae)
    @@ -619,25 +619,25 @@ public class HTMLEditorKit
               }
           }
       }
    -  
    +
       /**
        * Abstract Action class that helps inserting HTML into an existing document.
        */
       public abstract static class HTMLTextAction
         extends StyledEditorKit.StyledTextAction
         {
    -      
    +
           /**
            * Constructor
            */
    -      public HTMLTextAction(String name) 
    +      public HTMLTextAction(String name)
           {
             super(name);
           }
    -      
    +
           /**
            * Gets the HTMLDocument from the JEditorPane.
    -       * 
    +       *
            * @param e - the editor pane
            * @return the html document.
            */
    @@ -648,25 +648,25 @@ public class HTMLEditorKit
               return (HTMLDocument) d;
             throw new IllegalArgumentException("Document is not a HTMLDocument.");
           }
    -      
    +
           /**
            * Gets the HTMLEditorKit
    -       *  
    +       *
            * @param e - the JEditorPane to get the HTMLEditorKit from.
            * @return the HTMLEditorKit
            */
    -      protected HTMLEditorKit getHTMLEditorKit(JEditorPane e) 
    +      protected HTMLEditorKit getHTMLEditorKit(JEditorPane e)
           {
             EditorKit d = e.getEditorKit();
             if (d instanceof HTMLEditorKit)
               return (HTMLEditorKit) d;
             throw new IllegalArgumentException("EditorKit is not a HTMLEditorKit.");
           }
    -      
    +
           /**
            * Returns an array of Elements that contain the offset.
            * The first elements corresponds to the roots of the doc.
    -       * 
    +       *
            * @param doc - the document to get the Elements from.
            * @param offset - the offset the Elements must contain
            * @return an array of all the elements containing the offset.
    @@ -676,7 +676,7 @@ public class HTMLEditorKit
           {
             return getElementsAt(doc.getDefaultRootElement(), offset, 0);
           }
    -      
    +
           /**
            * Helper function to get all elements using recursion.
            */
    @@ -697,12 +697,12 @@ public class HTMLEditorKit
               }
             return elements;
           }
    -      
    +
           /**
            * Returns the number of elements, starting at the deepest point, needed
            * to get an element representing tag. -1 if no elements are found, 0 if
            * the parent of the leaf at offset represents the tag.
    -       * 
    +       *
            * @param doc -
            *          the document to search
            * @param offset -
    @@ -718,7 +718,7 @@ public class HTMLEditorKit
             Element root = doc.getDefaultRootElement();
             int num = -1;
             Element next = root.getElement(root.getElementIndex(offset));
    -        
    +
             while (!next.isLeaf())
               {
                 num++;
    @@ -729,11 +729,11 @@ public class HTMLEditorKit
               }
             return num;
           }
    -      
    +
           /**
            * Gets the deepest element at offset with the
            * matching tag.
    -       * 
    +       *
            * @param doc - the document to search
            * @param offset - the offset to check for
            * @param tag - the tag to match
    @@ -744,7 +744,7 @@ public class HTMLEditorKit
           {
             Element element = doc.getDefaultRootElement();
             Element tagElement = null;
    -        
    +
             while (element != null)
               {
                 Object otag = element.getAttributes().getAttribute(
    @@ -753,11 +753,11 @@ public class HTMLEditorKit
                   tagElement = element;
                 element = element.getElement(element.getElementIndex(offset));
               }
    -        
    +
             return tagElement;
           }
         }
    -  
    +
       /**
        * A {@link ViewFactory} that is able to create {@link View}s for
        * the Elements that are supported.
    @@ -765,7 +765,7 @@ public class HTMLEditorKit
       public static class HTMLFactory
         implements ViewFactory
       {
    -    
    +
         /**
          * Constructor
          */
    @@ -773,7 +773,7 @@ public class HTMLEditorKit
         {
           // Do Nothing here.
         }
    -    
    +
         /**
          * Creates a {@link View} for the specified Element.
          *
    @@ -815,7 +815,7 @@ public class HTMLEditorKit
                 view = new BlockView(element, View.X_AXIS);
               else if (tag == HTML.Tag.IMG)
                 view = new ImageView(element);
    -          
    +
               else if (tag == HTML.Tag.CONTENT)
                 view = new InlineView(element);
               else if (tag == HTML.Tag.HEAD)
    @@ -847,7 +847,7 @@ public class HTMLEditorKit
           return view;
         }
       }
    -  
    +
       /**
        * The abstract HTML parser declaration.
        */
    @@ -888,7 +888,7 @@ public class HTMLEditorKit
         {
           // Nothing to do here.
         }
    -    
    +
         /**
          * The parser calls this method after it finishes parsing the document.
          */
    @@ -1048,9 +1048,9 @@ public class HTMLEditorKit
        * The "ident paragraph right" action.
        */
       public static final String PARA_INDENT_RIGHT = "html-para-indent-right";
    -  
    +
       /**
    -   * Actions for HTML 
    +   * Actions for HTML
        */
       private static final Action[] defaultActions =
       {
    @@ -1083,43 +1083,43 @@ public class HTMLEditorKit
                                  "
    ", HTML.Tag.BODY, HTML.Tag.PRE)
         // TODO: The reference impl has an InsertHRAction too.
       };
    -  
    +
       /**
        * The current style sheet.
        */
       private StyleSheet styleSheet;
    -  
    +
       /**
        * The ViewFactory for HTMLFactory.
        */
       HTMLFactory viewFactory;
    -  
    +
       /**
        * The Cursor for links.
        */
       Cursor linkCursor;
    -  
    +
       /**
        * The default cursor.
        */
       Cursor defaultCursor;
    -  
    +
       /**
        * The parser.
        */
       Parser parser;
    -  
    +
       /**
        * The mouse listener used for links.
        */
       private LinkController linkController;
    -  
    +
       /** The content type */
       String contentType = "text/html";
    -  
    +
       /** The input attributes defined by default.css */
       MutableAttributeSet inputAttributes;
    -  
    +
       /** The editor pane used. */
       JEditorPane editorPane;
     
    @@ -1139,11 +1139,11 @@ public class HTMLEditorKit
         linkController = new LinkController();
         autoFormSubmission = true;
       }
    -  
    +
       /**
    -   * Gets a factory suitable for producing views of any 
    +   * Gets a factory suitable for producing views of any
        * models that are produced by this kit.
    -   * 
    +   *
        * @return the view factory suitable for producing views.
        */
       public ViewFactory getViewFactory()
    @@ -1152,7 +1152,7 @@ public class HTMLEditorKit
           viewFactory = new HTMLFactory();
         return viewFactory;
       }
    -  
    +
       /**
        * Create a text storage model for this type of editor.
        *
    @@ -1175,7 +1175,7 @@ public class HTMLEditorKit
       /**
        * Get the parser that this editor kit uses for reading HTML streams. This
        * method can be overridden to use the alternative parser.
    -   * 
    +   *
        * @return the HTML parser (by default, {@link ParserDelegator}).
        */
       protected Parser getParser()
    @@ -1186,17 +1186,17 @@ public class HTMLEditorKit
           }
         return parser;
       }
    -  
    +
       /**
        * Inserts HTML into an existing document.
    -   * 
    +   *
        * @param doc - the Document to insert the HTML into.
        * @param offset - where to begin inserting the HTML.
        * @param html - the String to insert
    -   * @param popDepth - the number of ElementSpec.EndTagTypes 
    +   * @param popDepth - the number of ElementSpec.EndTagTypes
        * to generate before inserting
    -   * @param pushDepth - the number of ElementSpec.StartTagTypes 
    -   * with a direction of ElementSpec.JoinNextDirection that 
    +   * @param pushDepth - the number of ElementSpec.StartTagTypes
    +   * with a direction of ElementSpec.JoinNextDirection that
        * should be generated before
        * @param insertTag - the first tag to start inserting into document
        * @throws IOException - on any I/O error
    @@ -1216,18 +1216,18 @@ public class HTMLEditorKit
         ParserCallback pc = doc.getReader(offset, popDepth, pushDepth, insertTag);
     
         // FIXME: What should ignoreCharSet be set to?
    -    
    +
         // parser.parse inserts html into the buffer
         parser.parse(new StringReader(html), pc, false);
         pc.flush();
       }
    -  
    +
       /**
    -   * Inserts content from the given stream. Inserting HTML into a non-empty 
    -   * document must be inside the body Element, if you do not insert into 
    -   * the body an exception will be thrown. When inserting into a non-empty 
    +   * Inserts content from the given stream. Inserting HTML into a non-empty
    +   * document must be inside the body Element, if you do not insert into
    +   * the body an exception will be thrown. When inserting into a non-empty
        * document all tags outside of the body (head, title) will be dropped.
    -   * 
    +   *
        * @param in - the stream to read from
        * @param doc - the destination for the insertion
        * @param pos - the location in the document to place the content
    @@ -1245,14 +1245,14 @@ public class HTMLEditorKit
               throw new BadLocationException("Bad location", pos);
             if (parser == null)
               throw new IOException("Parser is null.");
    -        
    +
             HTMLDocument hd = ((HTMLDocument) doc);
             if (editorPane != null)
               hd.setBase(editorPane.getPage());
             ParserCallback pc = hd.getReader(pos);
    -        
    +
             // FIXME: What should ignoreCharSet be set to?
    -        
    +
             // parser.parse inserts html into the buffer
             parser.parse(in, pc, false);
             pc.flush();
    @@ -1262,11 +1262,11 @@ public class HTMLEditorKit
           // the string is inserted in the document as usual.
           super.read(in, doc, pos);
       }
    -  
    +
       /**
    -   * Writes content from a document to the given stream in 
    +   * Writes content from a document to the given stream in
        * an appropriate format.
    -   * 
    +   *
        * @param out - the stream to write to
        * @param doc - the source for the write
        * @param pos - the location in the document to get the content.
    @@ -1293,21 +1293,21 @@ public class HTMLEditorKit
         else
           super.write(out, doc, pos, len);
       }
    -  
    +
       /**
        * Gets the content type that the kit supports.
        * This kit supports the type text/html.
    -   * 
    +   *
        * @returns the content type supported.
        */
       public String getContentType()
       {
         return contentType;
    -  } 
    -  
    +  }
    +
       /**
        * Creates a copy of the editor kit.
    -   * 
    +   *
        * @return a copy of this.
        */
       public Object clone()
    @@ -1317,12 +1317,12 @@ public class HTMLEditorKit
         copy.linkController = new LinkController();
         return copy;
       }
    -  
    +
       /**
    -   * Copies the key/values in elements AttributeSet into set. 
    +   * Copies the key/values in elements AttributeSet into set.
        * This does not copy component, icon, or element names attributes.
    -   * This is called anytime the caret moves over a different location. 
    -   * 
    +   * This is called anytime the caret moves over a different location.
    +   *
        * @param element - the element to create the input attributes for.
        * @param set - the set to copy the values into.
        */
    @@ -1333,10 +1333,10 @@ public class HTMLEditorKit
         set.addAttributes(element.getAttributes());
         // FIXME: Not fully implemented.
       }
    -  
    +
       /**
        * Called when this is installed into the JEditorPane.
    -   * 
    +   *
        * @param c - the JEditorPane installed into.
        */
       public void install(JEditorPane c)
    @@ -1346,11 +1346,11 @@ public class HTMLEditorKit
         c.addMouseMotionListener(linkController);
         editorPane = c;
       }
    -  
    +
       /**
        * Called when the this is removed from the JEditorPane.
        * It unregisters any listeners.
    -   * 
    +   *
        * @param c - the JEditorPane being removed from.
        */
       public void deinstall(JEditorPane c)
    @@ -1360,35 +1360,35 @@ public class HTMLEditorKit
         c.removeMouseMotionListener(linkController);
         editorPane = null;
       }
    -  
    +
       /**
        * Gets the AccessibleContext associated with this.
    -   * 
    +   *
        * @return the AccessibleContext for this.
        */
       public AccessibleContext getAccessibleContext()
       {
    -    // FIXME: Should return an instance of 
    +    // FIXME: Should return an instance of
         // javax.swing.text.html.AccessibleHTML$RootHTMLAccessibleContext
         // Not implemented yet.
         return null;
       }
    -  
    +
       /**
        * Gets the action list. This list is supported by the superclass
        * augmented by the collection of actions defined locally for style
        * operations.
    -   * 
    +   *
        * @return an array of all the actions
        */
       public Action[] getActions()
       {
         return TextAction.augmentList(super.getActions(), defaultActions);
       }
    -  
    +
       /**
        * Returns the default cursor.
    -   * 
    +   *
        * @return the default cursor
        */
       public Cursor getDefaultCursor()
    @@ -1397,10 +1397,10 @@ public class HTMLEditorKit
           defaultCursor = Cursor.getDefaultCursor();
         return defaultCursor;
       }
    -  
    +
       /**
        * Returns the cursor for links.
    -   * 
    +   *
        * @return the cursor for links.
        */
       public Cursor getLinkCursor()
    @@ -1409,42 +1409,42 @@ public class HTMLEditorKit
           linkCursor = Cursor.getPredefinedCursor(Cursor.HAND_CURSOR);
         return linkCursor;
       }
    -  
    +
       /**
        * Sets the Cursor for links.
    -   * 
    +   *
        * @param cursor - the new cursor for links.
        */
       public void setLinkCursor(Cursor cursor)
       {
         linkCursor = cursor;
       }
    -  
    +
       /**
        * Sets the default cursor.
    -   * 
    +   *
        * @param cursor - the new default cursor.
        */
       public void setDefaultCursor(Cursor cursor)
       {
         defaultCursor = cursor;
       }
    -  
    +
       /**
        * Gets the input attributes used for the styled editing actions.
    -   * 
    +   *
        * @return the attribute set
        */
       public MutableAttributeSet getInputAttributes()
       {
         return inputAttributes;
       }
    -  
    +
       /**
    -   * Get the set of styles currently being used to render the HTML elements. 
    -   * By default the resource specified by DEFAULT_CSS gets loaded, and is 
    +   * Get the set of styles currently being used to render the HTML elements.
    +   * By default the resource specified by DEFAULT_CSS gets loaded, and is
        * shared by all HTMLEditorKit instances.
    -   * 
    +   *
        * @return the style sheet.
        */
       public StyleSheet getStyleSheet()
    @@ -1467,14 +1467,14 @@ public class HTMLEditorKit
           }
         return styleSheet;
       }
    -  
    +
       /**
    -   * Set the set of styles to be used to render the various HTML elements. 
    -   * These styles are specified in terms of CSS specifications. Each document 
    -   * produced by the kit will have a copy of the sheet which it can add the 
    -   * document specific styles to. By default, the StyleSheet specified is shared 
    -   * by all HTMLEditorKit instances. 
    -   * 
    +   * Set the set of styles to be used to render the various HTML elements.
    +   * These styles are specified in terms of CSS specifications. Each document
    +   * produced by the kit will have a copy of the sheet which it can add the
    +   * document specific styles to. By default, the StyleSheet specified is shared
    +   * by all HTMLEditorKit instances.
    +   *
        * @param s - the new style sheet
        */
       public void setStyleSheet(StyleSheet s)
    @@ -1505,7 +1505,7 @@ public class HTMLEditorKit
     
       /**
        * Sets whether or not the editor kit should automatically submit forms.
    -   *  
    +   *
        * @param auto true when the editor kit should handle form
        *        submission, false otherwise
        *
    diff --git a/libjava/classpath/javax/swing/text/html/HTMLWriter.java b/libjava/classpath/javax/swing/text/html/HTMLWriter.java
    index 6a5e6ed..55d25cc 100644
    --- a/libjava/classpath/javax/swing/text/html/HTMLWriter.java
    +++ b/libjava/classpath/javax/swing/text/html/HTMLWriter.java
    @@ -1,4 +1,4 @@
    -/* HTMLWriter.java -- 
    +/* HTMLWriter.java --
        Copyright (C) 2006 Free Software Foundation, Inc.
     
     This file is part of GNU Classpath.
    @@ -76,7 +76,7 @@ public class HTMLWriter
       /**
        * We keep a reference of the HTMLDocument passed by the construct.
        */
    -  private HTMLDocument htmlDoc = null; 
    +  private HTMLDocument htmlDoc = null;
     
       /**
        * Used to keep track of which embedded has been written out.
    @@ -84,10 +84,10 @@ public class HTMLWriter
       private HashSet openEmbeddedTagHashSet = null;
     
       private String new_line_str = "" + NEWLINE;
    -    
    +
       private char[] html_entity_char_arr = {'<',    '>',    '&',     '"'};
     
    -  private String[] html_entity_escape_str_arr = {"<", ">", "&", 
    +  private String[] html_entity_escape_str_arr = {"<", ">", "&",
                                                      """};
     
       // variables used to output Html Fragment
    @@ -137,7 +137,7 @@ public class HTMLWriter
         doc_len_remaining = len;
         htmlFragmentParentHashSet = new HashSet();
       } // public HTMLWriter(Writer writer, HTMLDocument doc, int pos, int len)
    -    
    +
       /**
        * Call this method to start outputing HTML.
        *
    @@ -155,7 +155,7 @@ public class HTMLWriter
             // Normal traversal.
             traverse(rootElem);
           } // if(doc_pos == -1 && doc_len == -1)
    -    else    
    +    else
           {
             // Html fragment traversal.
             if (doc_pos == -1 || doc_len == -1)
    @@ -164,7 +164,7 @@ public class HTMLWriter
     
             startElem = htmlDoc.getCharacterElement(doc_pos);
     
    -        int start_offset = startElem.getStartOffset(); 
    +        int start_offset = startElem.getStartOffset();
     
             // Positions before start_offset will not be traversed, and thus
             // will not be counted.
    @@ -206,7 +206,7 @@ public class HTMLWriter
           } // for(int i = 0; i < tag_arr.length; i++)
     
       } // public void write() throws IOException, BadLocationException
    -  
    +
       /**
        * Writes all the attributes in the attrSet, except for attrbutes with
        * keys of javax.swing.text.html.HTML.Tag,
    @@ -226,7 +226,7 @@ public class HTMLWriter
           {
             Object key = attrNameEnum.nextElement();
             Object value = attrSet.getAttribute(key);
    -            
    +
             // HTML.Attribute.ENDTAG is an instance, not a class.
             if (!((key instanceof HTML.Tag) || (key instanceof StyleConstants)
               || (key == HTML.Attribute.ENDTAG)))
    @@ -240,7 +240,7 @@ public class HTMLWriter
               } // if(!((key instanceof HTML.Tag) || (key instanceof
                 //   StyleConstants) || (key == HTML.Attribute.ENDTAG)))
           } // while(attrNameEnum.hasMoreElements())
    -        
    +
       } // protected void writeAttributes(AttributeSet attrSet) throws IOException
     
       /**
    @@ -266,10 +266,10 @@ public class HTMLWriter
           {
             writeRaw("");
           } // if(isBlockTag(attrSet))
    -        
    +
       } // protected void emptyTag(Element paramElem)
         //   throws IOException, BadLocationException
    -    
    +
       /**
        * Determines if it is a block tag or not.
        *
    @@ -326,7 +326,7 @@ public class HTMLWriter
         writeAttributes(attrSet);
         writeRaw(">");
     
    -    Document tempDocument = 
    +    Document tempDocument =
           (Document) attrSet.getAttribute(StyleConstants.ModelAttribute);
     
         writeRaw(tempDocument.getText(0, tempDocument.getLength()));
    @@ -528,9 +528,9 @@ public class HTMLWriter
       /**
        * Closes out an unwanted embedded tag. The tags from the
        *  openEmbededTagHashSet not found in attrSet will be written out.
    -   * 
    +   *
        *  @param attrSet the AttributeSet of the element to write out
    -   * 
    +   *
        *  @throws IOException on any I/O exceptions
        */
       protected void closeOutUnwantedEmbeddedTags(AttributeSet attrSet)
    @@ -542,7 +542,7 @@ public class HTMLWriter
         for (int i = 0; i < tag_arr.length; i++)
           {
             HTML.Tag key = tag_arr[i];
    -            
    +
             if (!attrSet.isDefined(key))
               {
                 writeRaw("");
    @@ -592,10 +592,10 @@ public class HTMLWriter
     
       } // protected void output(char[] chars, int off, int len)
         //   throws IOException
    - 
    +
       //-------------------------------------------------------------------------
       // private methods
    -  
    +
       /**
        * The main method used to traverse through the elements.
        *
    @@ -627,7 +627,7 @@ public class HTMLWriter
             else if (matchNameAttribute(attrSet, HTML.Tag.IMPLIED))
               {
                 int child_elem_count = currElem.getElementCount();
    -                
    +
                 if (child_elem_count > 0)
                   {
                     for (int i = 0; i < child_elem_count; i++)
    @@ -665,7 +665,7 @@ public class HTMLWriter
                     indent();
                     writeRaw("");
     
    -                String title_str = 
    +                String title_str =
                       (String) htmlDoc.getProperty(HTMLDocument.TitleProperty);
     
                     if (title_str != null)
    @@ -726,7 +726,7 @@ public class HTMLWriter
                 else
                   {
                     emptyTag(currElem);
    -              } // else 
    +              } // else
                 } // else
               } // else
     
    @@ -842,7 +842,7 @@ public class HTMLWriter
                 } // else if(matchNameAttribute(attrSet, HTML.Tag.IMPLIED))
             } // if(synthesizedElement(paramElem))
           else
    -        { 
    +        {
                 // NOTE: 20061030 - fchoong - the isLeaf() condition seems to
                 // generate the closest behavior to the RI.
                 if (paramElem.isLeaf())
    @@ -880,7 +880,7 @@ public class HTMLWriter
                       indent();
                       writeRaw("<title>");
     
    -                  String title_str = 
    +                  String title_str =
                         (String) htmlDoc.getProperty(HTMLDocument.TitleProperty);
     
                       if (title_str != null)
    @@ -941,7 +941,7 @@ public class HTMLWriter
                   else
                     {
                       emptyTag(currElem);
    -                } // else 
    +                } // else
                 } // else
             } // else
     
    diff --git a/libjava/classpath/javax/swing/text/html/ImageView.java b/libjava/classpath/javax/swing/text/html/ImageView.java
    index bb6af4f..bdbe9b3 100644
    --- a/libjava/classpath/javax/swing/text/html/ImageView.java
    +++ b/libjava/classpath/javax/swing/text/html/ImageView.java
    @@ -26,8 +26,8 @@ import javax.swing.text.html.HTML.Attribute;
     
     /**
      * A view, representing a single image, represented by the HTML IMG tag.
    - * 
    - * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) 
    + *
    + * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
      */
     public class ImageView extends View
     {
    @@ -51,7 +51,7 @@ public class ImageView extends View
           boolean ret = (flags & ALLBITS) != 0;
           return ret;
         }
    -    
    +
       }
     
       /**
    @@ -64,7 +64,7 @@ public class ImageView extends View
        * The image icon, wrapping the image,
        */
       Image image;
    - 
    +
       /**
        * The image state.
        */
    @@ -124,7 +124,7 @@ public class ImageView extends View
     
       /**
        * Creates the image view that represents the given element.
    -   * 
    +   *
        * @param element the element, represented by this image view.
        */
       public ImageView(Element element)
    @@ -136,7 +136,7 @@ public class ImageView extends View
         reloadImage = true;
         loadOnDemand = false;
       }
    - 
    +
       /**
        * Load or reload the image. This method initiates the image reloading. After
        * the image is ready, the repaint event will be scheduled. The current image,
    @@ -161,13 +161,13 @@ public class ImageView extends View
             loading = false;
           }
       }
    -  
    +
       /**
        * Get the image alignment. This method works handling standart alignment
        * attributes in the HTML IMG tag (align = top bottom middle left right).
        * Depending from the parameter, either horizontal or vertical alingment
        * information is returned.
    -   * 
    +   *
        * @param axis -
        *          either X_AXIS or Y_AXIS
        */
    @@ -175,7 +175,7 @@ public class ImageView extends View
       {
         AttributeSet attrs = getAttributes();
         Object al = attrs.getAttribute(Attribute.ALIGN);
    -    
    +
         // Default is top left aligned.
         if (al == null)
           return 0.0f;
    @@ -207,7 +207,7 @@ public class ImageView extends View
         else
           throw new IllegalArgumentException("axis " + axis);
       }
    -  
    +
       /**
        * Get the text that should be shown as the image replacement and also as the
        * image tool tip text. The method returns the value of the attribute, having
    @@ -229,7 +229,7 @@ public class ImageView extends View
               return u.getFile();
           }
       }
    -  
    +
       /**
        * Returns the combination of the document and the style sheet attributes.
        */
    @@ -239,7 +239,7 @@ public class ImageView extends View
           attributes = getStyleSheet().getViewAttributes(this);
         return attributes;
       }
    -  
    +
       /**
        * Get the image to render. May return null if the image is not yet loaded.
        */
    @@ -248,13 +248,13 @@ public class ImageView extends View
         updateState();
         return image;
       }
    -  
    +
       /**
        * Get the URL location of the image to render. If this method returns null,
        * the "no image" icon is rendered instead. By defaul, url must be present as
        * the "src" property of the IMG tag. If it is missing, null is returned and
        * the "no image" icon is rendered.
    -   * 
    +   *
        * @return the URL location of the image to render.
        */
       public URL getImageURL()
    @@ -280,17 +280,17 @@ public class ImageView extends View
       /**
        * Get the icon that should be displayed while the image is loading and hence
        * not yet available.
    -   * 
    +   *
        * @return an icon, showing a non broken sheet of paper with image.
        */
       public Icon getLoadingImageIcon()
       {
         return ImageViewIconFactory.getLoadingImageIcon();
       }
    -  
    +
       /**
        * Get the image loading strategy.
    -   * 
    +   *
        * @return false (default) if the image is loaded when the view is
        *         constructed, true if the image is only loaded on demand when
        *         rendering.
    @@ -302,21 +302,21 @@ public class ImageView extends View
     
       /**
        * Get the icon that should be displayed when the image is not available.
    -   * 
    +   *
        * @return an icon, showing a broken sheet of paper with image.
        */
       public Icon getNoImageIcon()
       {
         return ImageViewIconFactory.getNoImageIcon();
       }
    -  
    +
       /**
        * Get the preferred span of the image along the axis. The image size is first
        * requested to the attributes {@link Attribute#WIDTH} and
        * {@link Attribute#HEIGHT}. If they are missing, and the image is already
        * loaded, the image size is returned. If there are no attributes, and the
        * image is not loaded, zero is returned.
    -   * 
    +   *
        * @param axis -
        *          either X_AXIS or Y_AXIS
        * @return either width of height of the image, depending on the axis.
    @@ -346,10 +346,10 @@ public class ImageView extends View
         else
           throw new IllegalArgumentException("axis " + axis);
       }
    -  
    +
       /**
        * Get the associated style sheet from the document.
    -   * 
    +   *
        * @return the associated style sheet.
        */
       protected StyleSheet getStyleSheet()
    @@ -361,7 +361,7 @@ public class ImageView extends View
       /**
        * Get the tool tip text. This is overridden to return the value of the
        * {@link #getAltText()}. The parameters are ignored.
    -   * 
    +   *
        * @return that is returned by getAltText().
        */
       public String getToolTipText(float x, float y, Shape shape)
    @@ -373,7 +373,7 @@ public class ImageView extends View
        * Paints the image or one of the two image state icons. The image is resized
        * to the shape bounds. If there is no image available, the alternative text
        * is displayed besides the image state icon.
    -   * 
    +   *
        * @param g
        *          the Graphics, used for painting.
        * @param bounds
    @@ -407,7 +407,7 @@ public class ImageView extends View
       {
         loadOnDemand = load_on_demand;
       }
    - 
    +
       /**
        * Update all cached properties from the attribute set, returned by the
        * {@link #getAttributes}.
    @@ -429,7 +429,7 @@ public class ImageView extends View
             spans[Y_AXIS].setFontBases(emBase, exBase);
           }
       }
    -  
    +
       /**
        * Maps the picture co-ordinates into the image position in the model. As the
        * image is not divideable, this is currently implemented always to return the
    @@ -439,15 +439,15 @@ public class ImageView extends View
       {
         return getStartOffset();
       }
    -  
    +
       /**
        * This is currently implemented always to return the area of the image view,
        * as the image is not divideable by character positions.
    -   * 
    +   *
        * @param pos character position
        * @param area of the image view
        * @param bias bias
    -   * 
    +   *
        * @return the shape, where the given character position should be mapped.
        */
       public Shape modelToView(int pos, Shape area, Bias bias)
    @@ -455,7 +455,7 @@ public class ImageView extends View
       {
         return area;
       }
    -  
    +
       /**
        * Starts loading the image asynchronuosly. If the image must be loaded
        * synchronuosly instead, the {@link #setLoadsSynchronously} must be
    @@ -465,7 +465,7 @@ public class ImageView extends View
       {
         updateState();
         // TODO: Implement this when we have an alt view for the alt=... attribute.
    -  }  
    +  }
     
       /**
        * This makes sure that the image and properties have been loaded.
    @@ -504,7 +504,7 @@ public class ImageView extends View
                   {
                     Thread.interrupted();
                   }
    -            
    +
               }
           }
         image = newImage;
    diff --git a/libjava/classpath/javax/swing/text/html/InlineView.java b/libjava/classpath/javax/swing/text/html/InlineView.java
    index 58edc73..5376c6b 100644
    --- a/libjava/classpath/javax/swing/text/html/InlineView.java
    +++ b/libjava/classpath/javax/swing/text/html/InlineView.java
    @@ -158,7 +158,7 @@ public class InlineView
         return attributes;
       }
     
    -  
    +
       public int getBreakWeight(int axis, float pos, float len)
       {
         int weight;
    diff --git a/libjava/classpath/javax/swing/text/html/ListView.java b/libjava/classpath/javax/swing/text/html/ListView.java
    index 3e809bb..f05051a 100644
    --- a/libjava/classpath/javax/swing/text/html/ListView.java
    +++ b/libjava/classpath/javax/swing/text/html/ListView.java
    @@ -1,4 +1,4 @@
    -/* ListView.java -- 
    +/* ListView.java --
        Copyright (C) 2006 Free Software Foundation, Inc.
     
     This file is part of GNU Classpath.
    diff --git a/libjava/classpath/javax/swing/text/html/MinimalHTMLWriter.java b/libjava/classpath/javax/swing/text/html/MinimalHTMLWriter.java
    index 9f5f019..3dddfc3 100644
    --- a/libjava/classpath/javax/swing/text/html/MinimalHTMLWriter.java
    +++ b/libjava/classpath/javax/swing/text/html/MinimalHTMLWriter.java
    @@ -1,4 +1,4 @@
    -/* MinimalHTMLWriter.java -- 
    +/* MinimalHTMLWriter.java --
        Copyright (C) 2006 Free Software Foundation, Inc.
     
     This file is part of GNU Classpath.
    @@ -59,7 +59,7 @@ import java.awt.Color;
      *
      * @author Sven de Marothy
      */
    -public class MinimalHTMLWriter extends AbstractWriter 
    +public class MinimalHTMLWriter extends AbstractWriter
     {
       private StyledDocument doc;
       private Deque<String> tagStack;
    @@ -114,7 +114,7 @@ public class MinimalHTMLWriter extends AbstractWriter
        * Ends a span tag.
        */
       protected void endFontTag() throws IOException
    -  {    
    +  {
         writeEndTag("</span>");
         inFontTag = false;
       }
    @@ -153,7 +153,7 @@ public class MinimalHTMLWriter extends AbstractWriter
       /**
        * Write the HTML header.
        */
    -  protected void writeHeader() throws IOException 
    +  protected void writeHeader() throws IOException
       {
         writeStartTag("<head>");
         writeStartTag("<style>");
    @@ -168,7 +168,7 @@ public class MinimalHTMLWriter extends AbstractWriter
        * Write a paragraph start tag.
        */
       protected void writeStartParagraph(Element elem) throws IOException
    -  {      
    +  {
         indent();
         write("<p class=default>"+NEWLINE); // FIXME: Class value = ?
         incrIndent();
    @@ -185,7 +185,7 @@ public class MinimalHTMLWriter extends AbstractWriter
     
       /**
        * Writes the body of the HTML document.
    -   */ 
    +   */
       protected void writeBody() throws IOException, BadLocationException
       {
         writeStartTag("<body>");
    @@ -195,27 +195,27 @@ public class MinimalHTMLWriter extends AbstractWriter
         boolean inParagraph = false;
         do
           {
    -	if( e.isLeaf() )
    -	  {
    -	    boolean hasNL = (getText(e).indexOf(NEWLINE) != -1);
    -	    if( !inParagraph && hasText( e ) )
    -	      {
    -		writeStartParagraph(e);
    -		inParagraph = true;
    -	      }
    -
    -	    if( hasText( e ) )
    -	      writeContent(e, true);
    -
    -	    if( hasNL && inParagraph )
    -	      {
    -		writeEndParagraph();
    -		inParagraph = false;
    -	      }
    -	    else
    -	      endOpenTags();
    -	  }
    -      } 
    +        if( e.isLeaf() )
    +          {
    +            boolean hasNL = (getText(e).indexOf(NEWLINE) != -1);
    +            if( !inParagraph && hasText( e ) )
    +              {
    +                writeStartParagraph(e);
    +                inParagraph = true;
    +              }
    +
    +            if( hasText( e ) )
    +              writeContent(e, true);
    +
    +            if( hasNL && inParagraph )
    +              {
    +                writeEndParagraph();
    +                inParagraph = false;
    +              }
    +            else
    +              endOpenTags();
    +          }
    +      }
         while((e = ei.next()) != null);
     
         writeEndTag("</body>");
    @@ -233,28 +233,28 @@ public class MinimalHTMLWriter extends AbstractWriter
       {
         if(attr.getAttribute(StyleConstants.Bold) != null)
           if(((Boolean)attr.getAttribute(StyleConstants.Bold)).booleanValue())
    -	{
    -	  write("<b>");
    -	  tagStack.push("</b>");
    -	}
    +        {
    +          write("<b>");
    +          tagStack.push("</b>");
    +        }
         if(attr.getAttribute(StyleConstants.Italic) != null)
           if(((Boolean)attr.getAttribute(StyleConstants.Italic)).booleanValue())
    -	{
    -	  write("<i>");
    -	  tagStack.push("</i>");
    -	}
    +        {
    +          write("<i>");
    +          tagStack.push("</i>");
    +        }
         if(attr.getAttribute(StyleConstants.Underline) != null)
           if(((Boolean)attr.getAttribute(StyleConstants.Underline)).booleanValue())
    -	{
    -	  write("<u>");
    -	  tagStack.push("</u>");
    -	}
    +        {
    +          write("<u>");
    +          tagStack.push("</u>");
    +        }
       }
     
       /**
        * Returns whether the element contains text or not.
        */
    -  protected boolean isText(Element elem) 
    +  protected boolean isText(Element elem)
       {
         return (elem.getEndOffset() != elem.getStartOffset());
       }
    @@ -271,7 +271,7 @@ public class MinimalHTMLWriter extends AbstractWriter
         writeHTMLTags(elem.getAttributes());
         if( isText(elem) )
           text(elem);
    -    else 
    +    else
           writeLeaf(elem);
     
         endOpenTags();
    @@ -285,12 +285,12 @@ public class MinimalHTMLWriter extends AbstractWriter
         // NOTE: Haven't tested if this is correct.
         if(e.getName().equals(StyleConstants.IconElementName))
           writeImage(e);
    -    else 
    +    else
           writeComponent(e);
       }
     
       /**
    -   * Write the HTML attributes which do not have tag equivalents, 
    +   * Write the HTML attributes which do not have tag equivalents,
        * e.g. attributes other than bold/italic/underlined.
        */
       protected void writeNonHTMLAttributes(AttributeSet attr) throws IOException
    @@ -300,8 +300,8 @@ public class MinimalHTMLWriter extends AbstractWriter
         // Alignment? Background?
     
         if( StyleConstants.getForeground(attr) != null )
    -      style = style + "color: " + 
    -	getColor(StyleConstants.getForeground(attr)) + "; ";
    +      style = style + "color: " +
    +        getColor(StyleConstants.getForeground(attr)) + "; ";
     
         style = style + "font-size: "+StyleConstants.getFontSize(attr)+"pt; ";
         style = style + "font-family: "+StyleConstants.getFontFamily(attr);
    @@ -316,15 +316,15 @@ public class MinimalHTMLWriter extends AbstractWriter
       {
         if(doc instanceof DefaultStyledDocument)
           {
    -	Enumeration<?> styles = ((DefaultStyledDocument)doc).getStyleNames();
    -	while(styles.hasMoreElements())
    -	  writeStyle(doc.getStyle((String)styles.nextElement()));
    +        Enumeration<?> styles = ((DefaultStyledDocument)doc).getStyleNames();
    +        while(styles.hasMoreElements())
    +          writeStyle(doc.getStyle((String)styles.nextElement()));
           }
         else
           { // What else to do here?
    -	Style s = doc.getStyle("default");
    -	if(s != null)
    -	  writeStyle( s );
    +        Style s = doc.getStyle("default");
    +        if(s != null)
    +          writeStyle( s );
           }
       }
     
    @@ -336,28 +336,28 @@ public class MinimalHTMLWriter extends AbstractWriter
         Enumeration<?> attribs = attr.getAttributeNames();
         while(attribs.hasMoreElements())
           {
    -	Object attribName = attribs.nextElement();
    -	String name = attribName.toString();
    -	String output = getAttribute(name, attr.getAttribute(attribName));
    -	if( output != null )
    -	  {
    -	    indent();
    -	    write( output + NEWLINE );
    -	  }
    +        Object attribName = attribs.nextElement();
    +        String name = attribName.toString();
    +        String output = getAttribute(name, attr.getAttribute(attribName));
    +        if( output != null )
    +          {
    +            indent();
    +            write( output + NEWLINE );
    +          }
           }
       }
     
       /**
        * Deliberately unimplemented, handles component elements.
    -   */ 
    +   */
       protected void writeComponent(Element elem) throws IOException
       {
       }
     
       /**
    -   * Deliberately unimplemented. 
    +   * Deliberately unimplemented.
        * Writes StyleConstants.IconElementName elements.
    -   */ 
    +   */
       protected void writeImage(Element elem) throws IOException
       {
       }
    @@ -381,24 +381,24 @@ public class MinimalHTMLWriter extends AbstractWriter
           return "family:" + a + ";";
         if(name.equals("size"))
           {
    -	int size = ((Integer)a).intValue();
    -	int htmlSize;
    -	if( size > 24 )
    -	  htmlSize = 7;
    -	else if( size > 18 )
    -	  htmlSize = 6;
    -	else if( size > 14 )
    -	  htmlSize = 5;
    -	else if( size > 12 )
    -	  htmlSize = 4;
    -	else if( size > 10 )
    -	  htmlSize = 3;
    -	else if( size > 8 )
    -	  htmlSize = 2;
    -	else
    -	  htmlSize = 1;
    -
    -	return "size:" + htmlSize + ";";
    +        int size = ((Integer)a).intValue();
    +        int htmlSize;
    +        if( size > 24 )
    +          htmlSize = 7;
    +        else if( size > 18 )
    +          htmlSize = 6;
    +        else if( size > 14 )
    +          htmlSize = 5;
    +        else if( size > 12 )
    +          htmlSize = 4;
    +        else if( size > 10 )
    +          htmlSize = 3;
    +        else if( size > 8 )
    +          htmlSize = 2;
    +        else
    +          htmlSize = 1;
    +
    +        return "size:" + htmlSize + ";";
           }
     
         return null;
    @@ -428,8 +428,8 @@ public class MinimalHTMLWriter extends AbstractWriter
     
         if( inFontTag() )
           {
    -	write(""+NEWLINE);
    -	endFontTag();
    +        write(""+NEWLINE);
    +        endFontTag();
           }
       }
     
    diff --git a/libjava/classpath/javax/swing/text/html/MultiAttributeSet.java b/libjava/classpath/javax/swing/text/html/MultiAttributeSet.java
    index 2961444..e7fa9f3 100644
    --- a/libjava/classpath/javax/swing/text/html/MultiAttributeSet.java
    +++ b/libjava/classpath/javax/swing/text/html/MultiAttributeSet.java
    @@ -97,7 +97,7 @@ class MultiAttributeSet
             }
           return current.nextElement();
         }
    -    
    +
       }
     
       /**
    diff --git a/libjava/classpath/javax/swing/text/html/MultiStyle.java b/libjava/classpath/javax/swing/text/html/MultiStyle.java
    index 2f43a19..eb62150 100644
    --- a/libjava/classpath/javax/swing/text/html/MultiStyle.java
    +++ b/libjava/classpath/javax/swing/text/html/MultiStyle.java
    @@ -48,7 +48,7 @@ import javax.swing.text.Style;
     /**
      * A Style implementation that is able to multiplex between several other
      * Styles. This is used for CSS style resolving.
    - * 
    + *
      * @author Roman Kennke (kennke@aicas.com)
      */
     class MultiStyle
    diff --git a/libjava/classpath/javax/swing/text/html/ParagraphView.java b/libjava/classpath/javax/swing/text/html/ParagraphView.java
    index d149627..cab8edb 100644
    --- a/libjava/classpath/javax/swing/text/html/ParagraphView.java
    +++ b/libjava/classpath/javax/swing/text/html/ParagraphView.java
    @@ -208,7 +208,7 @@ public class ParagraphView
       /**
        * Sets the span on the SizeRequirements object according to the
        * according CSS span value, when it is set.
    -   * 
    +   *
        * @param r the size requirements
        * @param axis the axis
        *
    diff --git a/libjava/classpath/javax/swing/text/html/StyleSheet.java b/libjava/classpath/javax/swing/text/html/StyleSheet.java
    index c4ddddb..5cf015b 100644
    --- a/libjava/classpath/javax/swing/text/html/StyleSheet.java
    +++ b/libjava/classpath/javax/swing/text/html/StyleSheet.java
    @@ -1,4 +1,4 @@
    -/* StyleSheet.java -- 
    +/* StyleSheet.java --
        Copyright (C) 2005 Free Software Foundation, Inc.
     
     This file is part of GNU Classpath.
    @@ -86,17 +86,17 @@ import javax.swing.text.View;
     /**
      * This class adds support for defining the visual characteristics of HTML views
      * being rendered. This enables views to be customized by a look-and-feel, mulitple
    - * views over the same model can be rendered differently. Each EditorPane has its 
    + * views over the same model can be rendered differently. Each EditorPane has its
      * own StyleSheet, but by default one sheet will be shared by all of the HTMLEditorKit
      * instances. An HTMLDocument can also have a StyleSheet, which holds specific CSS
    - * specs. 
    - * 
    - *  In order for Views to store less state and therefore be more lightweight, 
    - *  the StyleSheet can act as a factory for painters that handle some of the 
    + * specs.
    + *
    + *  In order for Views to store less state and therefore be more lightweight,
    + *  the StyleSheet can act as a factory for painters that handle some of the
      *  rendering tasks. Since the StyleSheet may be used by views over multiple
      *  documents the HTML attributes don't effect the selector being used.
    - *  
    - *  The rules are stored as named styles, and other information is stored to 
    + *
    + *  The rules are stored as named styles, and other information is stored to
      *  translate the context of an element to a rule.
      *
      * @author Lillian Angel (langel@redhat.com)
    @@ -234,15 +234,15 @@ public class StyleSheet extends StyleContext
           return other.precedence + other.selector.getSpecificity()
                  - precedence - selector.getSpecificity();
         }
    -    
    +
       }
     
       /** The base URL */
       URL base;
    -  
    +
       /** Base font size (int) */
       int baseFontSize;
    -  
    +
       /**
        * The linked style sheets stored.
        */
    @@ -273,7 +273,7 @@ public class StyleSheet extends StyleContext
        * Gets the style used to render the given tag. The element represents the tag
        * and can be used to determine the nesting, where the attributes will differ
        * if there is nesting inside of elements.
    -   * 
    +   *
        * @param t - the tag to translate to visual attributes
        * @param e - the element representing the tag
        * @return the set of CSS attributes to use to render the tag.
    @@ -362,7 +362,7 @@ public class StyleSheet extends StyleContext
        * Fetches a resolved style. If there is no resolved style for the
        * specified selector, the resolve the style using
        * {@link #resolveStyle(String, List, HTML.Tag)}.
    -   * 
    +   *
        * @param selector the selector for which to resolve the style
        * @param path the Element path, used in the resolving algorithm
        * @param tag the tag for which to resolve
    @@ -435,7 +435,7 @@ public class StyleSheet extends StyleContext
        * @return the resolved style
        */
       private Style resolveStyle(String selector, String[] tags,
    -			     List<Map<String,String>> attributes)
    +                             List<Map<String,String>> attributes)
       {
         // FIXME: This style resolver is not correct. But it works good enough for
         // the default.css.
    @@ -471,9 +471,9 @@ public class StyleSheet extends StyleContext
     
       /**
        * Gets the rule that best matches the selector. selector is a space
    -   * separated String of element names. The attributes of the returned 
    +   * separated String of element names. The attributes of the returned
        * Style will change as rules are added and removed.
    -   * 
    +   *
        * @param selector - the element names separated by spaces
        * @return the set of CSS attributes to use to render
        */
    @@ -488,11 +488,11 @@ public class StyleSheet extends StyleContext
           }
         return best;
       }
    -  
    +
       /**
        * Adds a set of rules to the sheet. The rules are expected to be in valid
        * CSS format. This is called as a result of parsing a <style> tag
    -   * 
    +   *
        * @param rule - the rule to add to the sheet
        */
       public void addRule(String rule)
    @@ -514,11 +514,11 @@ public class StyleSheet extends StyleContext
         // on next stylesheet request.
         resolvedStyles.clear();
       }
    -  
    +
       /**
        * Translates a CSS declaration into an AttributeSet. This is called
        * as a result of encountering an HTML style attribute.
    -   * 
    +   *
        * @param decl - the declaration to get
        * @return the AttributeSet representing the declaration
        */
    @@ -527,13 +527,13 @@ public class StyleSheet extends StyleContext
         if (decl == null)
           return SimpleAttributeSet.EMPTY;
         // FIXME: Not implemented.
    -    return null;     
    +    return null;
       }
    -  
    +
       /**
        * Loads a set of rules that have been specified in terms of CSS grammar.
        * If there are any conflicts with existing rules, the new rule is added.
    -   * 
    +   *
        * @param in - the stream to read the CSS grammar from.
        * @param ref - the reference URL. It is the location of the stream, it may
        * be null. All relative URLs specified in the stream will be based upon this
    @@ -549,11 +549,11 @@ public class StyleSheet extends StyleContext
         CSSParser parser = new CSSParser(in, cb);
         parser.parse();
       }
    -  
    +
       /**
        * Gets a set of attributes to use in the view. This is a set of
        * attributes that can be used for View.getAttributes
    -   * 
    +   *
        * @param v - the view to get the set for
        * @return the AttributeSet to use in the view.
        */
    @@ -561,10 +561,10 @@ public class StyleSheet extends StyleContext
       {
         return new ViewAttributeSet(v, this);
       }
    -  
    +
       /**
        * Removes a style previously added.
    -   * 
    +   *
        * @param nm - the name of the style to remove
        */
       public void removeStyle(String nm)
    @@ -572,12 +572,12 @@ public class StyleSheet extends StyleContext
         // FIXME: Not implemented.
         super.removeStyle(nm);
       }
    -  
    +
       /**
        * Adds the rules from ss to those of the receiver. ss's rules will
        * override the old rules. An added StyleSheet will never override the rules
        * of the receiving style sheet.
    -   * 
    +   *
        * @param ss - the new StyleSheet.
        */
       public void addStyleSheet(StyleSheet ss)
    @@ -586,10 +586,10 @@ public class StyleSheet extends StyleContext
           linked = new ArrayList<StyleSheet>();
         linked.add(ss);
       }
    -  
    +
       /**
        * Removes ss from those of the receiver
    -   * 
    +   *
        * @param ss - the StyleSheet to remove.
        */
       public void removeStyleSheet(StyleSheet ss)
    @@ -599,10 +599,10 @@ public class StyleSheet extends StyleContext
             linked.remove(ss);
           }
       }
    -  
    +
       /**
        * Returns an array of the linked StyleSheets. May return null.
    -   * 
    +   *
        * @return - An array of the linked StyleSheets.
        */
       public StyleSheet[] getStyleSheets()
    @@ -619,12 +619,12 @@ public class StyleSheet extends StyleContext
           }
         return linkedSS;
       }
    -  
    +
       /**
        * Imports a style sheet from the url. The rules are directly added to the
        * receiver. This is usually called when a <link> tag is resolved in an
        * HTML document.
    -   * 
    +   *
        * @param url the URL to import the StyleSheet from
        */
       public void importStyleSheet(URL url)
    @@ -643,11 +643,11 @@ public class StyleSheet extends StyleContext
             // We can't do anything about it I guess.
           }
       }
    -  
    +
       /**
        * Sets the base url. All import statements that are relative, will be
        * relative to base.
    -   * 
    +   *
        * @param base -
        *          the base URL.
        */
    @@ -655,20 +655,20 @@ public class StyleSheet extends StyleContext
       {
         this.base = base;
       }
    -  
    +
       /**
        * Gets the base url.
    -   * 
    +   *
        * @return - the base
        */
       public URL getBase()
       {
         return base;
       }
    -  
    +
       /**
        * Adds a CSS attribute to the given set.
    -   * 
    +   *
        * @param attr - the attribute set
        * @param key - the attribute to add
        * @param value - the value of the key
    @@ -680,13 +680,13 @@ public class StyleSheet extends StyleContext
         CSS.addInternal(attr, key, value);
         attr.addAttribute(key, val);
       }
    -  
    +
       /**
        * Adds a CSS attribute to the given set.
    -   * This method parses the value argument from HTML based on key. 
    -   * Returns true if it finds a valid value for the given key, 
    +   * This method parses the value argument from HTML based on key.
    +   * Returns true if it finds a valid value for the given key,
        * and false otherwise.
    -   * 
    +   *
        * @param attr - the attribute set
        * @param key - the attribute to add
        * @param value - the value of the key
    @@ -699,10 +699,10 @@ public class StyleSheet extends StyleContext
         attr.addAttribute(key, value);
         return attr.containsAttribute(key, value);
       }
    -  
    +
       /**
        * Converts a set of HTML attributes to an equivalent set of CSS attributes.
    -   * 
    +   *
        * @param htmlAttrSet - the set containing the HTML attributes.
        * @return the set of CSS attributes
        */
    @@ -772,7 +772,7 @@ public class StyleSheet extends StyleContext
        * Translates a HTML border attribute to a corresponding set of CSS
        * attributes.
        *
    -   * @param cssAttr the original set of CSS attributes to add to 
    +   * @param cssAttr the original set of CSS attributes to add to
        * @param o the value of the border attribute
        *
        * @return the new set of CSS attributes
    @@ -799,24 +799,24 @@ public class StyleSheet extends StyleContext
        * to convert StyleConstants attributes to CSS before forwarding them to the superclass.
        * The StyleConstants attribute do not have corresponding CSS entry, the attribute
        * is stored (but will likely not be used).
    -   * 
    +   *
        * @param old - the old set
        * @param key - the non-null attribute key
        * @param value - the attribute value
    -   * @return the updated set 
    +   * @return the updated set
        */
       public AttributeSet addAttribute(AttributeSet old, Object key,
                                        Object value)
       {
         // FIXME: Not implemented.
    -    return super.addAttribute(old, key, value);       
    +    return super.addAttribute(old, key, value);
       }
    -  
    +
       /**
        * Adds a set of attributes to the element. If any of these attributes are
    -   * StyleConstants, they will be converted to CSS before forwarding to the 
    +   * StyleConstants, they will be converted to CSS before forwarding to the
        * superclass.
    -   * 
    +   *
        * @param old - the old set
        * @param attr - the attributes to add
        * @return the updated attribute set
    @@ -824,44 +824,44 @@ public class StyleSheet extends StyleContext
       public AttributeSet addAttributes(AttributeSet old, AttributeSet attr)
       {
         // FIXME: Not implemented.
    -    return super.addAttributes(old, attr);           
    +    return super.addAttributes(old, attr);
       }
    -  
    +
       /**
        * Removes an attribute from the set. If the attribute is a
    -   * StyleConstants, it will be converted to CSS before forwarding to the 
    +   * StyleConstants, it will be converted to CSS before forwarding to the
        * superclass.
    -   * 
    +   *
        * @param old - the old set
        * @param key - the non-null attribute key
    -   * @return the updated set 
    +   * @return the updated set
        */
       public AttributeSet removeAttribute(AttributeSet old, Object key)
       {
         // FIXME: Not implemented.
    -    return super.removeAttribute(old, key);    
    +    return super.removeAttribute(old, key);
       }
    -  
    +
       /**
        * Removes an attribute from the set. If any of the attributes are
    -   * StyleConstants, they will be converted to CSS before forwarding to the 
    +   * StyleConstants, they will be converted to CSS before forwarding to the
        * superclass.
    -   * 
    +   *
        * @param old - the old set
        * @param attrs - the attributes to remove
    -   * @return the updated set 
    +   * @return the updated set
        */
       public AttributeSet removeAttributes(AttributeSet old, AttributeSet attrs)
       {
         // FIXME: Not implemented.
    -    return super.removeAttributes(old, attrs);    
    +    return super.removeAttributes(old, attrs);
       }
    -  
    +
       /**
        * Removes a set of attributes for the element. If any of the attributes is a
    -   * StyleConstants, they will be converted to CSS before forwarding to the 
    +   * StyleConstants, they will be converted to CSS before forwarding to the
        * superclass.
    -   * 
    +   *
        * @param old - the old attribute set
        * @param names - the attribute names
        * @return the update attribute set
    @@ -871,35 +871,35 @@ public class StyleSheet extends StyleContext
         // FIXME: Not implemented.
         return super.removeAttributes(old, names);
       }
    -  
    +
       /**
        * Creates a compact set of attributes that might be shared. This is a hook
        * for subclasses that want to change the behaviour of SmallAttributeSet.
    -   * 
    +   *
        * @param a - the set of attributes to be represented in the compact form.
        * @return the set of attributes created
        */
       protected StyleContext.SmallAttributeSet createSmallAttributeSet(AttributeSet a)
       {
    -    return super.createSmallAttributeSet(a);     
    +    return super.createSmallAttributeSet(a);
       }
    -  
    +
       /**
        * Creates a large set of attributes. This set is not shared. This is a hook
        * for subclasses that want to change the behaviour of the larger attribute
        * storage format.
    -   * 
    +   *
        * @param a - the set of attributes to be represented in the larger form.
        * @return the large set of attributes.
        */
       protected MutableAttributeSet createLargeAttributeSet(AttributeSet a)
       {
    -    return super.createLargeAttributeSet(a);     
    +    return super.createLargeAttributeSet(a);
       }
    -  
    +
       /**
        * Gets the font to use for the given set.
    -   * 
    +   *
        * @param a - the set to get the font for.
        * @return the font for the set
        */
    @@ -978,7 +978,7 @@ public class StyleSheet extends StyleContext
                 AttributeSet resolver = atts.getResolveParent();
                 if (resolver != null)
                   parSize = getFontSize(resolver);
    -            size = fs.getValue(parSize); 
    +            size = fs.getValue(parSize);
               }
             else
               {
    @@ -998,7 +998,7 @@ public class StyleSheet extends StyleContext
        * Takes a set of attributes and turns it into a foreground
        * color specification. This is used to specify things like, brigher, more hue
        * etc.
    -   * 
    +   *
        * @param a - the set to get the foreground color for
        * @return the foreground color for the set
        */
    @@ -1008,14 +1008,14 @@ public class StyleSheet extends StyleContext
         Color color = null;
         if (c != null)
           color = c.getValue();
    -    return color;     
    +    return color;
       }
    -  
    +
       /**
        * Takes a set of attributes and turns it into a background
        * color specification. This is used to specify things like, brigher, more hue
        * etc.
    -   * 
    +   *
        * @param a - the set to get the background color for
        * @return the background color for the set
        */
    @@ -1025,34 +1025,34 @@ public class StyleSheet extends StyleContext
         Color color = null;
         if (c != null)
           color = c.getValue();
    -    return color;     
    +    return color;
       }
    -  
    +
       /**
        * Gets the box formatter to use for the given set of CSS attributes.
    -   * 
    +   *
        * @param a - the given set
        * @return the box formatter
        */
       public BoxPainter getBoxPainter(AttributeSet a)
       {
    -    return new BoxPainter(a, this);     
    +    return new BoxPainter(a, this);
       }
    -  
    +
       /**
        * Gets the list formatter to use for the given set of CSS attributes.
    -   * 
    +   *
        * @param a - the given set
        * @return the list formatter
        */
       public ListPainter getListPainter(AttributeSet a)
       {
    -    return new ListPainter(a, this);         
    +    return new ListPainter(a, this);
       }
    -  
    +
       /**
        * Sets the base font size between 1 and 7.
    -   * 
    +   *
        * @param sz - the new font size for the base.
        */
       public void setBaseFontSize(int sz)
    @@ -1060,12 +1060,12 @@ public class StyleSheet extends StyleContext
         if (sz <= 7 && sz >= 1)
           baseFontSize = sz;
       }
    -  
    +
       /**
        * Sets the base font size from the String. It can either identify
        * a specific font size (between 1 and 7) or identify a relative
        * font size such as +1 or -2.
    -   * 
    +   *
        * @param size - the new font size as a String.
        */
       public void setBaseFontSize(String size)
    @@ -1093,10 +1093,10 @@ public class StyleSheet extends StyleContext
             // Do nothing here
           }
       }
    -  
    +
       /**
        * TODO
    -   * 
    +   *
        * @param pt - TODO
        * @return TODO
        */
    @@ -1105,35 +1105,35 @@ public class StyleSheet extends StyleContext
         // FIXME: Not implemented.
         return 0;
       }
    -  
    +
       /**
        * Gets the point size, given a size index.
    -   * 
    +   *
        * @param index - the size index
        * @return the point size.
        */
       public float getPointSize(int index)
       {
         // FIXME: Not implemented.
    -    return 0;    
    +    return 0;
       }
    -  
    +
       /**
        * Given the string of the size, returns the point size value.
    -   * 
    +   *
        * @param size - the string representation of the size.
        * @return - the point size value.
        */
       public float getPointSize(String size)
       {
         // FIXME: Not implemented.
    -    return 0;    
    +    return 0;
       }
    -  
    +
       /**
        * Convert the color string represenation into java.awt.Color. The valid
        * values are like "aqua" , "#00FFFF" or "rgb(1,6,44)".
    -   * 
    +   *
        * @param colorName the color to convert.
        * @return the matching java.awt.color
        */
    @@ -1141,14 +1141,14 @@ public class StyleSheet extends StyleContext
       {
         return CSSColor.convertValue(colorName);
       }
    -  
    +
       /**
        * This class carries out some of the duties of CSS formatting. This enables views
        * to present the CSS formatting while not knowing how the CSS values are cached.
    -   * 
    +   *
        * This object is reponsible for the insets of a View and making sure
        * the background is maintained according to the CSS attributes.
    -   * 
    +   *
        * @author Lillian Angel (langel@redhat.com)
        */
       public static class BoxPainter extends Object implements Serializable
    @@ -1191,7 +1191,7 @@ public class StyleSheet extends StyleContext
     
         /**
          * Package-private constructor.
    -     * 
    +     *
          * @param as - AttributeSet for painter
          */
         BoxPainter(AttributeSet as, StyleSheet ss)
    @@ -1257,12 +1257,12 @@ public class StyleSheet extends StyleContext
           background = ss.getBackground(as);
     
         }
    -    
    -    
    +
    +
         /**
          * Gets the inset needed on a given side to account for the margin, border
          * and padding.
    -     * 
    +     *
          * @param size - the size of the box to get the inset for. View.TOP, View.LEFT,
          * View.BOTTOM or View.RIGHT.
          * @param v - the view making the request. This is used to get the AttributeSet,
    @@ -1304,11 +1304,11 @@ public class StyleSheet extends StyleContext
           }
           return inset;
         }
    -    
    +
         /**
          * Paints the CSS box according to the attributes given. This should
          * paint the border, padding and background.
    -     * 
    +     *
          * @param g - the graphics configuration
          * @param x - the x coordinate
          * @param y - the y coordinate
    @@ -1333,12 +1333,12 @@ public class StyleSheet extends StyleContext
             }
         }
       }
    -  
    +
       /**
        * This class carries out some of the CSS list formatting duties. Implementations
        * of this class enable views to present the CSS formatting while not knowing anything
        * about how the CSS values are being cached.
    -   * 
    +   *
        * @author Lillian Angel (langel@redhat.com)
        */
       public static class ListPainter implements Serializable
    @@ -1361,7 +1361,7 @@ public class StyleSheet extends StyleContext
     
         /**
          * Package-private constructor.
    -     * 
    +     *
          * @param as - AttributeSet for painter
          */
         ListPainter(AttributeSet as, StyleSheet ss)
    @@ -1378,7 +1378,7 @@ public class StyleSheet extends StyleContext
     
         /**
          * Paints the CSS list decoration according to the attributes given.
    -     * 
    +     *
          * @param g - the graphics configuration
          * @param x - the x coordinate
          * @param y - the y coordinate
    @@ -1410,7 +1410,7 @@ public class StyleSheet extends StyleContext
                 {
                   View v1 = itemView.getView(0);
                   if (v1 instanceof ParagraphView && v1.getViewCount() > 0)
    -                {             
    +                {
                       Shape a1 = itemView.getChildAllocation(0, tmpRect);
                       Rectangle r1 = a1 instanceof Rectangle ? (Rectangle) a1
                                                              : a1.getBounds();
    diff --git a/libjava/classpath/javax/swing/text/html/TableView.java b/libjava/classpath/javax/swing/text/html/TableView.java
    index 912240c..2ad1b6d 100644
    --- a/libjava/classpath/javax/swing/text/html/TableView.java
    +++ b/libjava/classpath/javax/swing/text/html/TableView.java
    @@ -477,7 +477,7 @@ class TableView
        * Overridden to perform the table layout before calling the super
        * implementation.
        */
    -  protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, 
    +  protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets,
                                      int[] spans)
       {
         updateGrid();
    diff --git a/libjava/classpath/javax/swing/text/html/ViewAttributeSet.java b/libjava/classpath/javax/swing/text/html/ViewAttributeSet.java
    index 8838646..fb57872 100644
    --- a/libjava/classpath/javax/swing/text/html/ViewAttributeSet.java
    +++ b/libjava/classpath/javax/swing/text/html/ViewAttributeSet.java
    @@ -109,7 +109,7 @@ class ViewAttributeSet
           {
             HTML.Tag tag =
               (HTML.Tag) elAtts.getAttribute(StyleConstants.NameAttribute);
    -        AttributeSet rule = styleSheet.getRule(tag, el); 
    +        AttributeSet rule = styleSheet.getRule(tag, el);
             if (rule != null)
               atts.add(rule);
           }
    diff --git a/libjava/classpath/javax/swing/text/html/parser/Entity.java b/libjava/classpath/javax/swing/text/html/parser/Entity.java
    index 1d59df2..d40fb94 100644
    --- a/libjava/classpath/javax/swing/text/html/parser/Entity.java
    +++ b/libjava/classpath/javax/swing/text/html/parser/Entity.java
    @@ -170,14 +170,14 @@ public final class Entity
     
         return sdata;
       }
    -  
    +
       /**
        * Get the entity type.
        * @return the value of the {@link #type}.
        */
    -  public int getType() 
    +  public int getType()
       {
         return type;
    -  }  
    -          
    +  }
    +
     }
    diff --git a/libjava/classpath/javax/swing/text/html/parser/Parser.java b/libjava/classpath/javax/swing/text/html/parser/Parser.java
    index a88e9ce..f3faa25 100644
    --- a/libjava/classpath/javax/swing/text/html/parser/Parser.java
    +++ b/libjava/classpath/javax/swing/text/html/parser/Parser.java
    @@ -73,7 +73,7 @@ import javax.swing.text.SimpleAttributeSet;
      * </p>
      * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
      */
    -public class Parser 
    +public class Parser
       implements DTDConstants
     {
       /**
    diff --git a/libjava/classpath/javax/swing/text/rtf/RTFParser.java b/libjava/classpath/javax/swing/text/rtf/RTFParser.java
    index de1b1c6..3306056 100644
    --- a/libjava/classpath/javax/swing/text/rtf/RTFParser.java
    +++ b/libjava/classpath/javax/swing/text/rtf/RTFParser.java
    @@ -139,7 +139,7 @@ class RTFParser
     
         parseHeader();
         parseDocument();
    -  
    +
         Token t2 = scanner.peekToken();
         if (t2.type == Token.RCURLY)
           {
    diff --git a/libjava/classpath/javax/swing/text/rtf/RTFScanner.java b/libjava/classpath/javax/swing/text/rtf/RTFScanner.java
    index 060e087..2eca159 100644
    --- a/libjava/classpath/javax/swing/text/rtf/RTFScanner.java
    +++ b/libjava/classpath/javax/swing/text/rtf/RTFScanner.java
    @@ -50,7 +50,7 @@ import java.io.Reader;
      *
      * This scanner is based upon the RTF specification 1.6
      * available at:
    - * 
    + *
      * <a
      * href="http://msdn.microsoft.com/library/en-us/dnrtfspec/html/rtfspec.asp">
      * RTF specification at MSDN</a>
    diff --git a/libjava/classpath/javax/swing/tree/AbstractLayoutCache.java b/libjava/classpath/javax/swing/tree/AbstractLayoutCache.java
    index 4a6899f..29ce165 100644
    --- a/libjava/classpath/javax/swing/tree/AbstractLayoutCache.java
    +++ b/libjava/classpath/javax/swing/tree/AbstractLayoutCache.java
    @@ -45,7 +45,7 @@ import javax.swing.event.TreeModelEvent;
     
     /**
      * class AbstractLayoutCache
    - * 
    + *
      * @author Andrew Selkirk
      */
     public abstract class AbstractLayoutCache
    @@ -69,7 +69,7 @@ public abstract class AbstractLayoutCache
         * the method is overridden, like if {@link FixedHeightLayoutCache}. If the
         * method is not overridden and the property is not set, the InternalError is
         * thrown.
    -    * 
    +    *
         * @param value the last node in the path
         * @param row the node row
         * @param depth the indentation depth
    @@ -116,7 +116,7 @@ public abstract class AbstractLayoutCache
     
       /**
        * setNodeDimensions
    -   * 
    +   *
        * @param dimensions TODO
        */
       public void setNodeDimensions(NodeDimensions dimensions)
    @@ -126,7 +126,7 @@ public abstract class AbstractLayoutCache
     
       /**
        * getNodeDimensions
    -   * 
    +   *
        * @return NodeDimensions
        */
       public NodeDimensions getNodeDimensions()
    @@ -139,7 +139,7 @@ public abstract class AbstractLayoutCache
       * (unless the method is overridden, like if
       * {@link FixedHeightLayoutCache}. If the method is not overridden and
       * the property is not set, the InternalError is thrown.
    -  * 
    +  *
       * @param value the last node in the path
       * @param row the node row
       * @param depth the indentation depth
    @@ -152,13 +152,13 @@ public abstract class AbstractLayoutCache
         Rectangle d = null;
         if (nodeDimensions != null)
           d = nodeDimensions.getNodeDimensions(value, row, depth, expanded,
    -					   bounds);
    +                                           bounds);
         return d;
       }
     
       /**
        * Sets the model that provides the tree data.
    -   * 
    +   *
        * @param model the model
        */
       public void setModel(TreeModel model)
    @@ -168,7 +168,7 @@ public abstract class AbstractLayoutCache
     
       /**
        * Returns the model that provides the tree data.
    -   * 
    +   *
        * @return the model
        */
       public TreeModel getModel()
    @@ -178,7 +178,7 @@ public abstract class AbstractLayoutCache
     
       /**
        * setRootVisible
    -   * 
    +   *
        * @param visible <code>true</code> if root should be visible,
        * <code>false</code> otherwise
        */
    @@ -189,7 +189,7 @@ public abstract class AbstractLayoutCache
     
       /**
        * isRootVisible
    -   * 
    +   *
        * @return <code>true</code> if root is visible,
        * <code>false</code> otherwise
        */
    @@ -200,7 +200,7 @@ public abstract class AbstractLayoutCache
     
       /**
        * setRowHeight
    -   * 
    +   *
        * @param height the row height
        */
       public void setRowHeight(int height)
    @@ -211,7 +211,7 @@ public abstract class AbstractLayoutCache
     
       /**
        * getRowHeight
    -   * 
    +   *
        * @return the row height
        */
       public int getRowHeight()
    @@ -221,7 +221,7 @@ public abstract class AbstractLayoutCache
     
       /**
        * setSelectionModel
    -   * 
    +   *
        * @param model the model
        */
       public void setSelectionModel(TreeSelectionModel model)
    @@ -231,12 +231,12 @@ public abstract class AbstractLayoutCache
         treeSelectionModel = model;
         if (treeSelectionModel != null)
           treeSelectionModel.setRowMapper(this);
    -    
    +
       }
     
       /**
        * getSelectionModel
    -   * 
    +   *
        * @return the model
        */
       public TreeSelectionModel getSelectionModel()
    @@ -246,7 +246,7 @@ public abstract class AbstractLayoutCache
     
       /**
        * Get the sum of heights for all rows. This class provides a general not
    -   * optimized implementation that is overridded in derived classes 
    +   * optimized implementation that is overridded in derived classes
        * ({@link VariableHeightLayoutCache}, {@link FixedHeightLayoutCache}) for
        * the better performance.
        */
    @@ -265,10 +265,10 @@ public abstract class AbstractLayoutCache
     
       /**
        * Get the maximal width. This class provides a general not
    -   * optimized implementation that is overridded in derived classes 
    +   * optimized implementation that is overridded in derived classes
        * ({@link VariableHeightLayoutCache}, {@link FixedHeightLayoutCache}) for
        * the better performance.
    -   * 
    +   *
        * @param rect the rectangle that is used during the method work
        */
       public int getPreferredWidth(Rectangle rect)
    @@ -279,7 +279,7 @@ public abstract class AbstractLayoutCache
         for (int i = 0; i < n; i++)
           {
             TreePath path = getPathForRow(i);
    -        r.setBounds(0, 0, 0, 0);        
    +        r.setBounds(0, 0, 0, 0);
             r = getBounds(path, r);
             if (r.x + r.width > maximalWidth)
               maximalWidth = r.x + r.width;
    @@ -292,90 +292,90 @@ public abstract class AbstractLayoutCache
       }
       /**
        * isExpanded
    -   * 
    +   *
        * @param value0 TODO
    -   * 
    +   *
        * @return boolean
        */
       public abstract boolean isExpanded(TreePath value0);
     
       /**
        * getBounds
    -   * 
    +   *
        * @param value0 TODO
        * @param value1 TODO
    -   * 
    +   *
        * @return Rectangle
        */
       public abstract Rectangle getBounds(TreePath value0, Rectangle value1);
     
       /**
        * getPathForRow
    -   * 
    +   *
        * @param row the row
    -   * 
    +   *
        * @return the tree path
        */
       public abstract TreePath getPathForRow(int row);
     
       /**
        * getRowForPath
    -   * 
    +   *
        * @param path the tree path
    -   * 
    +   *
        * @return the row
        */
       public abstract int getRowForPath(TreePath path);
     
       /**
        * getPathClosestTo
    -   * 
    +   *
        * @param value0 TODO
        * @param value1 TODO
    -   * 
    +   *
        * @return the tree path
        */
       public abstract TreePath getPathClosestTo(int value0, int value1);
     
       /**
        * getVisiblePathsFrom
    -   * 
    +   *
        * @param path the tree path
    -   * 
    +   *
        * @return Enumeration
        */
       public abstract Enumeration<TreePath> getVisiblePathsFrom(TreePath path);
     
       /**
        * getVisibleChildCount
    -   * 
    +   *
        * @param path the tree path
    -   * 
    +   *
        * @return int
        */
       public abstract int getVisibleChildCount(TreePath path);
     
       /**
        * setExpandedState
    -   * 
    +   *
        * @param value0 TODO
    -   * 
    +   *
        * @param value1 TODO
        */
       public abstract void setExpandedState(TreePath value0, boolean value1);
     
       /**
        * getExpandedState
    -   * 
    +   *
        * @param path the tree path
    -   * 
    +   *
        * @return boolean
        */
       public abstract boolean getExpandedState(TreePath path);
     
       /**
        * getRowCount
    -   * 
    +   *
        * @return the number of rows
        */
       public abstract int getRowCount();
    @@ -387,35 +387,35 @@ public abstract class AbstractLayoutCache
     
       /**
        * invalidatePathBounds
    -   * 
    +   *
        * @param path the tree path
        */
       public abstract void invalidatePathBounds(TreePath path);
     
       /**
        * treeNodesChanged
    -   * 
    +   *
        * @param event the event to send
        */
       public abstract void treeNodesChanged(TreeModelEvent event);
     
       /**
        * treeNodesInserted
    -   * 
    +   *
        * @param event the event to send
        */
       public abstract void treeNodesInserted(TreeModelEvent event);
     
       /**
        * treeNodesRemoved
    -   * 
    +   *
        * @param event the event to send
        */
       public abstract void treeNodesRemoved(TreeModelEvent event);
     
       /**
        * treeStructureChanged
    -   * 
    +   *
        * @param event the event to send
        */
       public abstract void treeStructureChanged(TreeModelEvent event);
    @@ -426,7 +426,7 @@ public abstract class AbstractLayoutCache
        * one. To have the benefit from the bulk conversion, the method must be
        * overridden in the derived classes. The default method delegates work
        * to the {@link #getRowForPath(TreePath)}.
    -   * 
    +   *
        * @param paths the tree paths the array of the tree pathes.
        * @return the array of the matching tree rows.
        */
    @@ -445,7 +445,7 @@ public abstract class AbstractLayoutCache
       /**
        * Returns true if this layout supposes that all rows have the fixed
        * height.
    -   * 
    +   *
        * @return boolean true if all rows in the tree must have the fixed
        * height (false by default).
        */
    diff --git a/libjava/classpath/javax/swing/tree/DefaultMutableTreeNode.java b/libjava/classpath/javax/swing/tree/DefaultMutableTreeNode.java
    index e4cc978..260c385 100644
    --- a/libjava/classpath/javax/swing/tree/DefaultMutableTreeNode.java
    +++ b/libjava/classpath/javax/swing/tree/DefaultMutableTreeNode.java
    @@ -101,7 +101,7 @@ public class DefaultMutableTreeNode
     
       /**
        * Creates a <code>DefaultMutableTreeNode</code> object with the given
    -   * user object attached to it. This is equivalent to 
    +   * user object attached to it. This is equivalent to
        * <code>DefaultMutableTreeNode(userObject, true)</code>.
        *
        * @param userObject the user object (<code>null</code> permitted).
    @@ -126,7 +126,7 @@ public class DefaultMutableTreeNode
       }
     
       /**
    -   * Returns a clone of the node.  The clone contains a shallow copy of the 
    +   * Returns a clone of the node.  The clone contains a shallow copy of the
        * user object, and does not copy the parent node or the child nodes.
        *
        * @return A clone of the node.
    @@ -159,24 +159,24 @@ public class DefaultMutableTreeNode
        *
        * @param child the child node (<code>null</code> not permitted).
        *
    -   * @throws IllegalStateException if {@link #getAllowsChildren()} returns 
    +   * @throws IllegalStateException if {@link #getAllowsChildren()} returns
        *     <code>false</code>.
        * @throws IllegalArgumentException if {@link #isNodeAncestor} returns
    -   *     <code>true</code>. 
    -   * @throws IllegalArgumentException if <code>child</code> is 
    +   *     <code>true</code>.
    +   * @throws IllegalArgumentException if <code>child</code> is
        *     <code>null</code>.
        */
       public void add(MutableTreeNode child)
       {
         if (! allowsChildren)
           throw new IllegalStateException();
    -    
    +
         if (child == null)
           throw new IllegalArgumentException();
     
         if (isNodeAncestor(child))
           throw new IllegalArgumentException("Cannot add ancestor node.");
    -    
    +
         children.add(child);
         child.setParent(this);
       }
    @@ -194,10 +194,10 @@ public class DefaultMutableTreeNode
       /**
        * Removes the child with the given index from this node.
        *
    -   * @param index the index (in the range <code>0</code> to 
    +   * @param index the index (in the range <code>0</code> to
        *     <code>getChildCount() - 1</code>).
    -   *     
    -   * @throws ArrayIndexOutOfBoundsException if <code>index</code> is outside 
    +   *
    +   * @throws ArrayIndexOutOfBoundsException if <code>index</code> is outside
        *         the valid range.
        */
       public void remove(int index)
    @@ -207,12 +207,12 @@ public class DefaultMutableTreeNode
       }
     
       /**
    -   * Removes the given child from this node and sets its parent to 
    +   * Removes the given child from this node and sets its parent to
        * <code>null</code>.
        *
        * @param node the child node (<code>null</code> not permitted).
    -   * 
    -   * @throws IllegalArgumentException if <code>node</code> is not a child of 
    +   *
    +   * @throws IllegalArgumentException if <code>node</code> is not a child of
        *     this node.
        * @throws IllegalArgumentException if <code>node</code> is null.
        */
    @@ -259,8 +259,8 @@ public class DefaultMutableTreeNode
        *
        * @param node the child node (<code>null</code> not permitted).
        * @param index the index.
    -   * 
    -   * @throws IllegalArgumentException if <code>node</code> is 
    +   *
    +   * @throws IllegalArgumentException if <code>node</code> is
        *     </code>null</code>.
        */
       public void insert(MutableTreeNode node, int index)
    @@ -270,7 +270,7 @@ public class DefaultMutableTreeNode
     
         if (node == null)
           throw new IllegalArgumentException("Null 'node' argument.");
    -    
    +
         if (isNodeAncestor(node))
           throw new IllegalArgumentException("Cannot insert ancestor node.");
     
    @@ -298,7 +298,7 @@ public class DefaultMutableTreeNode
       {
         if (children.size() == 0)
           return EMPTY_ENUMERATION;
    -    
    +
         return children.elements();
       }
     
    @@ -337,11 +337,11 @@ public class DefaultMutableTreeNode
       /**
        * Returns the index of the specified child node, or -1 if the node is not
        * in fact a child of this node.
    -   * 
    +   *
        * @param node  the node (<code>null</code> not permitted).
    -   * 
    +   *
        * @return The index of the specified child node, or -1.
    -   * 
    +   *
        * @throws IllegalArgumentException if <code>node</code> is <code>null</code>.
        */
       public int getIndex(TreeNode node)
    @@ -352,7 +352,7 @@ public class DefaultMutableTreeNode
       }
     
       /**
    -   * Sets the flag that controls whether or not this node allows the addition / 
    +   * Sets the flag that controls whether or not this node allows the addition /
        * insertion of child nodes.  If the flag is set to <code>false</code>, any
        * existing children are removed.
        *
    @@ -422,9 +422,9 @@ public class DefaultMutableTreeNode
        * <li>the parent node (if there is one);</li>
        * <li>any ancestor of the parent node;</li>
        * </ul>
    -   * If <code>node</code> is <code>null</code>, this method returns 
    +   * If <code>node</code> is <code>null</code>, this method returns
        * <code>false</code>.
    -   * 
    +   *
        * @param node  the node (<code>null</code> permitted).
        *
        * @return A boolean.
    @@ -450,9 +450,9 @@ public class DefaultMutableTreeNode
        * <li>the child nodes belonging to this tree node, if there are any;</li>
        * <li>any descendants of the child nodes;</li>
        * </ul>
    -   * If <code>node</code> is <code>null</code>, this method returns 
    +   * If <code>node</code> is <code>null</code>, this method returns
        * <code>false</code>.
    -   * 
    +   *
        * @param node  the node (<code>null</code> permitted).
        *
        * @return A boolean.
    @@ -463,7 +463,7 @@ public class DefaultMutableTreeNode
           return false;
     
         TreeNode current = node;
    -    
    +
         while (current != null
                && current != this)
           current = current.getParent();
    @@ -533,7 +533,7 @@ public class DefaultMutableTreeNode
         TreeNode node = getChildAt(0);
         int depth = 0;
         int current = 1;
    -    
    +
         while (! stack.empty())
           {
             if (node.getChildCount() != 0)
    @@ -549,7 +549,7 @@ public class DefaultMutableTreeNode
     
                 int size;
                 int index;
    -            
    +
                 do
                   {
                     node = node.getParent();
    @@ -606,7 +606,7 @@ public class DefaultMutableTreeNode
           {
             if (depth == 0)
               return null;
    -        
    +
             return new TreeNode[depth];
           }
     
    @@ -624,7 +624,7 @@ public class DefaultMutableTreeNode
       {
         TreeNode[] path = getPathToRoot(this, 0);
         Object[] object = new Object[path.length];
    -    
    +
         for (int index = 0; index < path.length; ++index)
           object[index] = ((DefaultMutableTreeNode) path[index]).getUserObject();
     
    @@ -640,7 +640,7 @@ public class DefaultMutableTreeNode
       {
         TreeNode current = this;
         TreeNode check = current.getParent();
    -    
    +
         while (check != null)
           {
             current = check;
    @@ -675,7 +675,7 @@ public class DefaultMutableTreeNode
         // Return next sibling (if needed the sibling of some parent).
         DefaultMutableTreeNode node = this;
         DefaultMutableTreeNode sibling;
    -    
    +
         do
           {
             sibling = node.getNextSibling();
    @@ -683,7 +683,7 @@ public class DefaultMutableTreeNode
           }
         while (sibling == null &&
                node != null);
    -    
    +
         // Return sibling.
         return sibling;
       }
    @@ -698,7 +698,7 @@ public class DefaultMutableTreeNode
         // Return null if no parent.
         if (parent == null)
           return null;
    -    
    +
         DefaultMutableTreeNode sibling = getPreviousSibling();
     
         // Return parent if no sibling.
    @@ -769,7 +769,7 @@ public class DefaultMutableTreeNode
       {
         if (node == null)
           throw new IllegalArgumentException();
    -    
    +
         TreeNode parent = this;
         Vector<TreeNode> nodes = new Vector<TreeNode>();
         nodes.add(this);
    @@ -782,13 +782,13 @@ public class DefaultMutableTreeNode
     
         if (parent != node)
           throw new IllegalArgumentException();
    -    
    +
         return nodes.elements();
       }
     
       /**
    -   * Returns <code>true</code> if <code>node</code> is a child of this tree 
    -   * node, and <code>false</code> otherwise.  If <code>node</code> is 
    +   * Returns <code>true</code> if <code>node</code> is a child of this tree
    +   * node, and <code>false</code> otherwise.  If <code>node</code> is
        * <code>null</code>, this method returns <code>false</code>.
        *
        * @param node  the node (<code>null</code> permitted).
    @@ -807,7 +807,7 @@ public class DefaultMutableTreeNode
        * Returns the first child node belonging to this tree node.
        *
        * @return The first child node.
    -   * 
    +   *
        * @throws NoSuchElementException if this tree node has no children.
        */
       public TreeNode getFirstChild()
    @@ -819,7 +819,7 @@ public class DefaultMutableTreeNode
        * Returns the last child node belonging to this tree node.
        *
        * @return The last child node.
    -   * 
    +   *
        * @throws NoSuchElementException if this tree node has no children.
        */
       public TreeNode getLastChild()
    @@ -828,15 +828,15 @@ public class DefaultMutableTreeNode
       }
     
       /**
    -   * Returns the next child after the specified <code>node</code>, or 
    -   * <code>null</code> if there is no child after the specified 
    +   * Returns the next child after the specified <code>node</code>, or
    +   * <code>null</code> if there is no child after the specified
        * <code>node</code>.
        *
        * @param node  a child of this node (<code>null</code> not permitted).
        *
        * @return The next child, or <code>null</code>.
    -   * 
    -   * @throws IllegalArgumentException if <code>node</code> is not a child of 
    +   *
    +   * @throws IllegalArgumentException if <code>node</code> is not a child of
        *     this node, or is <code>null</code>.
        */
       public TreeNode getChildAfter(TreeNode node)
    @@ -853,15 +853,15 @@ public class DefaultMutableTreeNode
       }
     
       /**
    -   * Returns the previous child before the specified <code>node</code>, or 
    -   * <code>null</code> if there is no child before the specified 
    +   * Returns the previous child before the specified <code>node</code>, or
    +   * <code>null</code> if there is no child before the specified
        * <code>node</code>.
        *
        * @param node  a child of this node (<code>null</code> not permitted).
        *
        * @return The previous child, or <code>null</code>.
    -   * 
    -   * @throws IllegalArgumentException if <code>node</code> is not a child of 
    +   *
    +   * @throws IllegalArgumentException if <code>node</code> is not a child of
        *     this node, or is <code>null</code>.
        */
       public TreeNode getChildBefore(TreeNode node)
    @@ -913,8 +913,8 @@ public class DefaultMutableTreeNode
     
       /**
        * Returns the next sibling for this tree node.  If this node has no parent,
    -   * or this node is the last child of its parent, this method returns 
    -   * <code>null</code>.  
    +   * or this node is the last child of its parent, this method returns
    +   * <code>null</code>.
        *
        * @return The next sibling, or <code>null</code>.
        */
    @@ -924,7 +924,7 @@ public class DefaultMutableTreeNode
           return null;
     
         int index = parent.getIndex(this) + 1;
    -    
    +
         if (index == parent.getChildCount())
           return null;
     
    @@ -932,9 +932,9 @@ public class DefaultMutableTreeNode
       }
     
       /**
    -   * Returns the previous sibling for this tree node.  If this node has no 
    -   * parent, or this node is the first child of its parent, this method returns 
    -   * <code>null</code>.  
    +   * Returns the previous sibling for this tree node.  If this node has no
    +   * parent, or this node is the first child of its parent, this method returns
    +   * <code>null</code>.
        *
        * @return The previous sibling, or <code>null</code>.
        */
    @@ -952,7 +952,7 @@ public class DefaultMutableTreeNode
       }
     
       /**
    -   * Returns <code>true</code> if this tree node is a lead node (that is, it 
    +   * Returns <code>true</code> if this tree node is a lead node (that is, it
        * has no children), and <code>false</otherwise>.
        *
        * @return A boolean.
    @@ -963,8 +963,8 @@ public class DefaultMutableTreeNode
       }
     
       /**
    -   * Returns the first leaf node that is a descendant of this node.  Recall 
    -   * that a node is its own descendant, so if this node has no children then 
    +   * Returns the first leaf node that is a descendant of this node.  Recall
    +   * that a node is its own descendant, so if this node has no children then
        * it is returned as the first leaf.
        *
        * @return The first leaf node.
    @@ -972,7 +972,7 @@ public class DefaultMutableTreeNode
       public DefaultMutableTreeNode getFirstLeaf()
       {
         TreeNode current = this;
    -    
    +
         while (current.getChildCount() > 0)
           current = current.getChildAt(0);
     
    @@ -980,8 +980,8 @@ public class DefaultMutableTreeNode
       }
     
       /**
    -   * Returns the last leaf node that is a descendant of this node.  Recall 
    -   * that a node is its own descendant, so if this node has no children then 
    +   * Returns the last leaf node that is a descendant of this node.  Recall
    +   * that a node is its own descendant, so if this node has no children then
        * it is returned as the last leaf.
        *
        * @return The first leaf node.
    @@ -990,7 +990,7 @@ public class DefaultMutableTreeNode
       {
         TreeNode current = this;
         int size = current.getChildCount();
    -    
    +
         while (size > 0)
           {
             current = current.getChildAt(size - 1);
    @@ -1001,7 +1001,7 @@ public class DefaultMutableTreeNode
       }
     
       /**
    -   * Returns the next leaf node after this tree node. 
    +   * Returns the next leaf node after this tree node.
        *
        * @return The next leaf node, or <code>null</code>.
        */
    @@ -1047,7 +1047,7 @@ public class DefaultMutableTreeNode
         while (e.hasMoreElements())
           {
             TreeNode current = (TreeNode) e.nextElement();
    -        
    +
             if (current.isLeaf())
               count++;
           }
    @@ -1082,7 +1082,7 @@ public class DefaultMutableTreeNode
               TreeNode node = queue.removeFirst();
     
               Enumeration<TreeNode> children =
    -	    (Enumeration<TreeNode>) node.children();
    +            (Enumeration<TreeNode>) node.children();
               while (children.hasMoreElements())
                   queue.add(children.nextElement());
     
    @@ -1095,10 +1095,10 @@ public class DefaultMutableTreeNode
        */
       static class PreorderEnumeration implements Enumeration<TreeNode>
       {
    -	  TreeNode next;
    +          TreeNode next;
     
           Stack<Enumeration<TreeNode>> childrenEnums =
    -	new Stack<Enumeration<TreeNode>>();
    +        new Stack<Enumeration<TreeNode>>();
     
           @SuppressWarnings("unchecked")
           PreorderEnumeration(TreeNode node)
    @@ -1138,7 +1138,7 @@ public class DefaultMutableTreeNode
     
                   return child;
               }
    -          
    +
               // If no children are left, we return to a higher level.
               childrenEnums.pop();
     
    @@ -1161,7 +1161,7 @@ public class DefaultMutableTreeNode
     
            Stack<TreeNode> nodes = new Stack<TreeNode>();
            Stack<Enumeration<TreeNode>> childrenEnums =
    -	 new Stack<Enumeration<TreeNode>>();
    +         new Stack<Enumeration<TreeNode>>();
     
            @SuppressWarnings("unchecked")
            PostorderEnumeration(TreeNode node)
    @@ -1194,7 +1194,7 @@ public class DefaultMutableTreeNode
                    nodes.push(node);
     
                    Enumeration<TreeNode> newChildren =
    -		 (Enumeration<TreeNode>) node.children();
    +                 (Enumeration<TreeNode>) node.children();
                    childrenEnums.push(newChildren);
     
                    return traverse(newChildren);
    diff --git a/libjava/classpath/javax/swing/tree/DefaultTreeCellEditor.java b/libjava/classpath/javax/swing/tree/DefaultTreeCellEditor.java
    index 0489798..9ee0a14 100644
    --- a/libjava/classpath/javax/swing/tree/DefaultTreeCellEditor.java
    +++ b/libjava/classpath/javax/swing/tree/DefaultTreeCellEditor.java
    @@ -68,7 +68,7 @@ import javax.swing.event.TreeSelectionListener;
     
     /**
      * Participates in the tree cell editing.
    - * 
    + *
      * @author Andrew Selkirk
      * @author Audrius Meskauskas
      */
    @@ -77,8 +77,8 @@ public class DefaultTreeCellEditor
     {
       /**
        * This container that appears on the tree during editing session.
    -   * It contains the editing component displays various other editor - 
    -   * specific parts like editing icon. 
    +   * It contains the editing component displays various other editor -
    +   * specific parts like editing icon.
        */
       public class EditorContainer extends Container
       {
    @@ -86,7 +86,7 @@ public class DefaultTreeCellEditor
         * Use v 1.5 serial version UID for interoperability.
         */
         static final long serialVersionUID = 6470339600449699810L;
    -    
    +
         /**
          * Creates an <code>EditorContainer</code> object.
          */
    @@ -103,11 +103,11 @@ public class DefaultTreeCellEditor
         {
           // Do nothing here.
         }
    -   
    +
         /**
          * Overrides Container.paint to paint the node's icon and use the selection
          * color for the background.
    -     * 
    +     *
          * @param g -
          *          the specified Graphics window
          */
    @@ -175,8 +175,8 @@ public class DefaultTreeCellEditor
        /**
         * Use v 1.5 serial version UID for interoperability.
         */
    -    static final long serialVersionUID = -6629304544265300143L; 
    -    
    +    static final long serialVersionUID = -6629304544265300143L;
    +
         /**
          * The border of the text field.
          */
    @@ -194,9 +194,9 @@ public class DefaultTreeCellEditor
     
         /**
          * Gets the font of this component.
    -     * @return this component's font; if a font has not been set for 
    +     * @return this component's font; if a font has not been set for
          * this component, the font of its parent is returned (if the parent
    -     * is not null, otherwise null is returned). 
    +     * is not null, otherwise null is returned).
          */
         public Font getFont()
         {
    @@ -222,9 +222,9 @@ public class DefaultTreeCellEditor
         }
     
         /**
    -     * Overrides JTextField.getPreferredSize to return the preferred size 
    +     * Overrides JTextField.getPreferredSize to return the preferred size
          * based on current font, if set, or else use renderer's font.
    -     * 
    +     *
          * @return the Dimension of this textfield.
          */
         public Dimension getPreferredSize()
    @@ -237,9 +237,9 @@ public class DefaultTreeCellEditor
           return renderer.getPreferredSize();
         }
       }
    -  
    +
       private EventListenerList listenerList = new EventListenerList();
    -  
    +
       /**
        * Editor handling the editing.
        */
    @@ -261,8 +261,8 @@ public class DefaultTreeCellEditor
       protected transient Component editingComponent;
     
       /**
    -   * As of Java 2 platform v1.4 this field should no longer be used. 
    -   * If you wish to provide similar behavior you should directly 
    +   * As of Java 2 platform v1.4 this field should no longer be used.
    +   * If you wish to provide similar behavior you should directly
        * override isCellEditable.
        */
       protected boolean canEdit;
    @@ -306,12 +306,12 @@ public class DefaultTreeCellEditor
        * Font to paint with, null indicates font of renderer is to be used.
        */
       protected Font font;
    -      
    +
       /**
    -   * Constructs a DefaultTreeCellEditor object for a JTree using the 
    -   * specified renderer and a default editor. (Use this constructor 
    +   * Constructs a DefaultTreeCellEditor object for a JTree using the
    +   * specified renderer and a default editor. (Use this constructor
        * for normal editing.)
    -   * 
    +   *
        * @param tree - a JTree object
        * @param renderer - a DefaultTreeCellRenderer object
        */
    @@ -321,10 +321,10 @@ public class DefaultTreeCellEditor
       }
     
       /**
    -   * Constructs a DefaultTreeCellEditor  object for a JTree using the specified 
    -   * renderer and the specified editor. (Use this constructor 
    +   * Constructs a DefaultTreeCellEditor  object for a JTree using the specified
    +   * renderer and the specified editor. (Use this constructor
        * for specialized editing.)
    -   * 
    +   *
        * @param tree - a JTree object
        * @param renderer - a DefaultTreeCellRenderer object
        * @param editor - a TreeCellEditor object
    @@ -341,10 +341,10 @@ public class DefaultTreeCellEditor
         Color c = UIManager.getColor("Tree.editorBorderSelectionColor");
         setBorderSelectionColor(c);
       }
    -  
    +
       /**
        * writeObject
    -   * 
    +   *
        * @param value0
        *          TODO
        * @exception IOException
    @@ -386,12 +386,12 @@ public class DefaultTreeCellEditor
       }
     
       /**
    -   * Sets the font to edit with. null indicates the renderers 
    -   * font should be used. This will NOT override any font you have 
    -   * set in the editor the receiver was instantied with. If null for 
    -   * an editor was passed in, a default editor will be created that 
    +   * Sets the font to edit with. null indicates the renderers
    +   * font should be used. This will NOT override any font you have
    +   * set in the editor the receiver was instantied with. If null for
    +   * an editor was passed in, a default editor will be created that
        * will pick up this font.
    -   * 
    +   *
        * @param font - the editing Font
        */
       public void setFont(Font font)
    @@ -404,7 +404,7 @@ public class DefaultTreeCellEditor
     
       /**
        * Gets the font used for editing.
    -   * 
    +   *
        * @return the editing font
        */
       public Font getFont()
    @@ -414,20 +414,20 @@ public class DefaultTreeCellEditor
     
       /**
        * Configures the editor. Passed onto the realEditor.
    -   * Sets an initial value for the editor. This will cause 
    -   * the editor to stopEditing and lose any partially edited value 
    -   * if the editor is editing when this method is called. 
    -   * Returns the component that should be added to the client's Component 
    -   * hierarchy. Once installed in the client's hierarchy this component will 
    -   * then be able to draw and receive user input. 
    -   * 
    +   * Sets an initial value for the editor. This will cause
    +   * the editor to stopEditing and lose any partially edited value
    +   * if the editor is editing when this method is called.
    +   * Returns the component that should be added to the client's Component
    +   * hierarchy. Once installed in the client's hierarchy this component will
    +   * then be able to draw and receive user input.
    +   *
        * @param tree - the JTree that is asking the editor to edit; this parameter can be null
        * @param value - the value of the cell to be edited
        * @param isSelected - true is the cell is to be rendered with selection highlighting
        * @param expanded - true if the node is expanded
        * @param leaf - true if the node is a leaf node
        * @param row - the row index of the node being edited
    -   * 
    +   *
        * @return the component for editing
        */
       public Component getTreeCellEditorComponent(JTree tree, Object value,
    @@ -461,19 +461,19 @@ public class DefaultTreeCellEditor
       /**
        * Returns the value currently being edited (requests it from the
        * {@link #realEditor}.
    -   * 
    +   *
        * @return the value currently being edited
        */
       public Object getCellEditorValue()
       {
         return realEditor.getCellEditorValue();
       }
    -  
    +
       /**
    -   * If the realEditor returns true to this message, prepareForEditing  
    +   * If the realEditor returns true to this message, prepareForEditing
        * is messaged and true is returned.
    -   * 
    -   * @param event - the event the editor should use to consider whether to 
    +   *
    +   * @param event - the event the editor should use to consider whether to
        * begin editing or not
        * @return true if editing can be started
        */
    @@ -507,7 +507,7 @@ public class DefaultTreeCellEditor
           }
         if (! realEditor.isCellEditable(event))
           ret = false;
    -    else 
    +    else
           {
             if (canEditImmediately(event))
               ret = true;
    @@ -519,12 +519,12 @@ public class DefaultTreeCellEditor
         if (ret)
           prepareForEditing();
         return ret;
    -        
    +
       }
     
       /**
        * Messages the realEditor for the return value.
    -   * 
    +   *
        * @param event -
        *          the event the editor should use to start editing
        * @return true if the editor would like the editing cell to be selected;
    @@ -570,7 +570,7 @@ public class DefaultTreeCellEditor
     
       /**
        * Adds a <code>CellEditorListener</code> object to this editor.
    -   * 
    +   *
        * @param listener
        *          the listener to add
        */
    @@ -603,7 +603,7 @@ public class DefaultTreeCellEditor
     
       /**
        * Resets lastPath.
    -   * 
    +   *
        * @param e - the event that characterizes the change.
        */
       public void valueChanged(TreeSelectionEvent e)
    @@ -621,10 +621,10 @@ public class DefaultTreeCellEditor
     //    if (timer != null)
     //      timer.stop();
       }
    -  
    +
       /**
        * Messaged when the timer fires.
    -   * 
    +   *
        * @param e the event that characterizes the action.
        */
       public void actionPerformed(ActionEvent e)
    @@ -636,7 +636,7 @@ public class DefaultTreeCellEditor
       /**
        * Sets the tree currently editing for. This is needed to add a selection
        * listener.
    -   * 
    +   *
        * @param newTree -
        *          the new tree to be edited
        */
    @@ -657,7 +657,7 @@ public class DefaultTreeCellEditor
     
       /**
        * Returns true if event is a MouseEvent and the click count is 1.
    -   * 
    +   *
        * @param event - the event being studied
        * @return true if editing should start
        */
    @@ -674,7 +674,7 @@ public class DefaultTreeCellEditor
       }
     
       /**
    -   * Starts the editing timer (if one installed). 
    +   * Starts the editing timer (if one installed).
        */
       protected void startEditingTimer()
       {
    @@ -687,33 +687,33 @@ public class DefaultTreeCellEditor
       }
     
       /**
    -   * Returns true if event is null, or it is a MouseEvent with 
    +   * Returns true if event is null, or it is a MouseEvent with
        * a click count > 2 and inHitRegion returns true.
    -   * 
    +   *
        * @param event - the event being studied
    -   * @return true if event is null, or it is a MouseEvent with 
    -   * a click count > 2 and inHitRegion returns true 
    +   * @return true if event is null, or it is a MouseEvent with
    +   * a click count > 2 and inHitRegion returns true
        */
       protected boolean canEditImmediately(EventObject event)
       {
         if (event == null || !(event instanceof MouseEvent) || (((MouseEvent) event).
    -        getClickCount() > 2 && inHitRegion(((MouseEvent) event).getX(), 
    +        getClickCount() > 2 && inHitRegion(((MouseEvent) event).getX(),
                                              ((MouseEvent) event).getY())))
           return true;
         return false;
       }
     
       /**
    -   * Returns true if the passed in location is a valid mouse location 
    +   * Returns true if the passed in location is a valid mouse location
        * to start editing from. This is implemented to return false if x is
    -   * less than or equal to the width of the icon and icon 
    -   * gap displayed by the renderer. In other words this returns true if 
    -   * the user clicks over the text part displayed by the renderer, and 
    +   * less than or equal to the width of the icon and icon
    +   * gap displayed by the renderer. In other words this returns true if
    +   * the user clicks over the text part displayed by the renderer, and
        * false otherwise.
    -   * 
    +   *
        * @param x - the x-coordinate of the point
        * @param y - the y-coordinate of the point
    -   * 
    +   *
        * @return true if the passed in location is a valid mouse location
        */
       protected boolean inHitRegion(int x, int y)
    @@ -725,11 +725,11 @@ public class DefaultTreeCellEditor
       /**
        * determineOffset
        * @param tree -
    -   * @param value - 
    -   * @param isSelected - 
    -   * @param expanded - 
    -   * @param leaf - 
    -   * @param row - 
    +   * @param value -
    +   * @param isSelected -
    +   * @param expanded -
    +   * @param leaf -
    +   * @param row -
        */
       protected void determineOffset(JTree tree, Object value, boolean isSelected,
                                      boolean expanded, boolean leaf, int row)
    @@ -755,7 +755,7 @@ public class DefaultTreeCellEditor
       }
     
       /**
    -   * Invoked just before editing is to start. Will add the 
    +   * Invoked just before editing is to start. Will add the
        * editingComponent to the editingContainer.
        */
       protected void prepareForEditing()
    @@ -766,7 +766,7 @@ public class DefaultTreeCellEditor
     
       /**
        * Creates the container to manage placement of editingComponent.
    -   * 
    +   *
        * @return the container to manage the placement of the editingComponent.
        */
       protected Container createContainer()
    @@ -775,9 +775,9 @@ public class DefaultTreeCellEditor
       }
     
       /**
    -   * This is invoked if a TreeCellEditor is not supplied in the constructor. 
    +   * This is invoked if a TreeCellEditor is not supplied in the constructor.
        * It returns a TextField editor.
    -   * 
    +   *
        * @return a new TextField editor
        */
       protected TreeCellEditor createTreeCellEditor()
    diff --git a/libjava/classpath/javax/swing/tree/DefaultTreeCellRenderer.java b/libjava/classpath/javax/swing/tree/DefaultTreeCellRenderer.java
    index b9c8401..a2c8fc2 100644
    --- a/libjava/classpath/javax/swing/tree/DefaultTreeCellRenderer.java
    +++ b/libjava/classpath/javax/swing/tree/DefaultTreeCellRenderer.java
    @@ -1,6 +1,6 @@
    -/* DefaultTreeCellRenderer.java 
    +/* DefaultTreeCellRenderer.java
      Copyright (C) 2002, 2004, 2006, Free Software Foundation, Inc.
    - 
    +
      This file is part of GNU Classpath.
     
      GNU Classpath is free software; you can redistribute it and/or modify
    @@ -54,7 +54,7 @@ import javax.swing.plaf.UIResource;
     
     /**
      * A default implementation of the {@link TreeCellRenderer} interface.
    - * 
    + *
      * @author Andrew Selkirk
      */
     public class DefaultTreeCellRenderer
    @@ -79,62 +79,62 @@ public class DefaultTreeCellRenderer
     
       /**
        * The icon used to represent non-leaf nodes that are closed.
    -   * 
    +   *
        * @see #setClosedIcon(Icon)
        */
       protected transient Icon closedIcon;
     
       /**
        * The icon used to represent leaf nodes.
    -   * 
    +   *
        * @see #setLeafIcon(Icon)
        */
       protected transient Icon leafIcon;
     
       /**
        * The icon used to represent non-leaf nodes that are open.
    -   * 
    +   *
        * @see #setOpenIcon(Icon)
        */
       protected transient Icon openIcon;
     
       /**
        * The color used for text in selected cells.
    -   * 
    +   *
        * @see #setTextSelectionColor(Color)
        */
       protected Color textSelectionColor;
     
       /**
        * The color used for text in non-selected cells.
    -   * 
    +   *
        * @see #setTextNonSelectionColor(Color)
        */
       protected Color textNonSelectionColor;
     
       /**
        * The background color for selected cells.
    -   * 
    +   *
        * @see #setBackgroundSelectionColor(Color)
        */
       protected Color backgroundSelectionColor;
     
       /**
        * The background color for non-selected cells.
    -   * 
    +   *
        * @see #setBackgroundNonSelectionColor(Color)
        */
       protected Color backgroundNonSelectionColor;
     
       /**
        * The border color for selected tree cells.
    -   * 
    +   *
        * @see #setBorderSelectionColor(Color)
        */
       protected Color borderSelectionColor;
     
       /**
    -   * Creates a new tree cell renderer with defaults appropriate for the 
    +   * Creates a new tree cell renderer with defaults appropriate for the
        * current {@link LookAndFeel}.
        */
       public DefaultTreeCellRenderer()
    @@ -154,9 +154,9 @@ public class DefaultTreeCellRenderer
     
       /**
        * Returns the default icon for non-leaf tree cells that are open (expanded).
    -   * The icon is fetched from the defaults table for the current 
    +   * The icon is fetched from the defaults table for the current
        * {@link LookAndFeel} using the key <code>Tree.openIcon</code>.
    -   * 
    +   *
        * @return The default icon.
        */
       public Icon getDefaultOpenIcon()
    @@ -165,10 +165,10 @@ public class DefaultTreeCellRenderer
       }
     
       /**
    -   * Returns the default icon for non-leaf tree cells that are closed (not 
    -   * expanded).  The icon is fetched from the defaults table for the current 
    +   * Returns the default icon for non-leaf tree cells that are closed (not
    +   * expanded).  The icon is fetched from the defaults table for the current
        * {@link LookAndFeel} using the key <code>Tree.closedIcon</code>.
    -   * 
    +   *
        * @return The default icon.
        */
       public Icon getDefaultClosedIcon()
    @@ -177,10 +177,10 @@ public class DefaultTreeCellRenderer
       }
     
       /**
    -   * Returns the default icon for leaf tree cells.  The icon is fetched from 
    -   * the defaults table for the current {@link LookAndFeel} using the key 
    +   * Returns the default icon for leaf tree cells.  The icon is fetched from
    +   * the defaults table for the current {@link LookAndFeel} using the key
        * <code>Tree.leafIcon</code>.
    -   * 
    +   *
        * @return The default icon.
        */
       public Icon getDefaultLeafIcon()
    @@ -191,9 +191,9 @@ public class DefaultTreeCellRenderer
       /**
        * Sets the icon to be displayed for non-leaf nodes that are open (expanded).
        * Set this to <code>null</code> if no icon is required.
    -   * 
    +   *
        * @param icon  the icon (<code>null</code> permitted).
    -   * 
    +   *
        * @see #getOpenIcon()
        */
       public void setOpenIcon(Icon icon)
    @@ -202,11 +202,11 @@ public class DefaultTreeCellRenderer
       }
     
       /**
    -   * Returns the icon displayed for non-leaf nodes that are open (expanded).  
    +   * Returns the icon displayed for non-leaf nodes that are open (expanded).
        * The default value is initialised from the {@link LookAndFeel}.
    -   * 
    +   *
        * @return The open icon (possibly <code>null</code>).
    -   * 
    +   *
        * @see #setOpenIcon(Icon)
        */
       public Icon getOpenIcon()
    @@ -215,11 +215,11 @@ public class DefaultTreeCellRenderer
       }
     
       /**
    -   * Sets the icon to be displayed for non-leaf nodes that are closed.  Set 
    +   * Sets the icon to be displayed for non-leaf nodes that are closed.  Set
        * this to <code>null</code> if no icon is required.
    -   * 
    +   *
        * @param icon  the icon (<code>null</code> permitted).
    -   * 
    +   *
        * @see #getClosedIcon()
        */
       public void setClosedIcon(Icon icon)
    @@ -228,11 +228,11 @@ public class DefaultTreeCellRenderer
       }
     
       /**
    -   * Returns the icon displayed for non-leaf nodes that are closed.  The 
    +   * Returns the icon displayed for non-leaf nodes that are closed.  The
        * default value is initialised from the {@link LookAndFeel}.
    -   * 
    +   *
        * @return The closed icon (possibly <code>null</code>).
    -   * 
    +   *
        * @see #setClosedIcon(Icon)
        */
       public Icon getClosedIcon()
    @@ -241,11 +241,11 @@ public class DefaultTreeCellRenderer
       }
     
       /**
    -   * Sets the icon to be displayed for leaf nodes.  Set this to 
    +   * Sets the icon to be displayed for leaf nodes.  Set this to
        * <code>null</code> if no icon is required.
    -   * 
    +   *
        * @param icon  the icon (<code>null</code> permitted).
    -   * 
    +   *
        * @see #getLeafIcon()
        */
       public void setLeafIcon(Icon icon)
    @@ -254,11 +254,11 @@ public class DefaultTreeCellRenderer
       }
     
       /**
    -   * Returns the icon displayed for leaf nodes.  The default value is 
    +   * Returns the icon displayed for leaf nodes.  The default value is
        * initialised from the {@link LookAndFeel}.
    -   * 
    +   *
        * @return The leaf icon (possibly <code>null</code>).
    -   * 
    +   *
        * @see #setLeafIcon(Icon)
        */
       public Icon getLeafIcon()
    @@ -268,9 +268,9 @@ public class DefaultTreeCellRenderer
     
       /**
        * Sets the text color for tree cells that are selected.
    -   * 
    +   *
        * @param c  the color (<code>null</code> permitted).
    -   * 
    +   *
        * @see #getTextSelectionColor()
        */
       public void setTextSelectionColor(Color c)
    @@ -282,9 +282,9 @@ public class DefaultTreeCellRenderer
        * Returns the text color for tree cells that are selected.
        * The default value is obtained from the {@link LookAndFeel} defaults
        * table using the key <code>Tree.selectionForeground</code>.
    -   * 
    +   *
        * @return The text color for tree cells that are selected.
    -   * 
    +   *
        * @see #setTextSelectionColor(Color)
        */
       public Color getTextSelectionColor()
    @@ -294,9 +294,9 @@ public class DefaultTreeCellRenderer
     
       /**
        * Sets the text color for tree cells that are not selected.
    -   * 
    +   *
        * @param c  the color (<code>null</code> permitted).
    -   * 
    +   *
        * @see #getTextNonSelectionColor()
        */
       public void setTextNonSelectionColor(Color c)
    @@ -308,9 +308,9 @@ public class DefaultTreeCellRenderer
        * Returns the text color for tree cells that are not selected.
        * The default value is obtained from the {@link LookAndFeel} defaults
        * table using the key <code>Tree.selectionForeground</code>.
    -   * 
    +   *
        * @return The background color for tree cells that are not selected.
    -   * 
    +   *
        * @see #setTextgroundNonSelectionColor(Color)
        */
       public Color getTextNonSelectionColor()
    @@ -320,9 +320,9 @@ public class DefaultTreeCellRenderer
     
       /**
        * Sets the background color for tree cells that are selected.
    -   * 
    +   *
        * @param c  the color (<code>null</code> permitted).
    -   * 
    +   *
        * @see #getBackgroundSelectionColor()
        */
       public void setBackgroundSelectionColor(Color c)
    @@ -334,9 +334,9 @@ public class DefaultTreeCellRenderer
        * Returns the background color for tree cells that are selected.
        * The default value is obtained from the {@link LookAndFeel} defaults
        * table using the key <code>Tree.selectionBackground</code>.
    -   * 
    +   *
        * @return The background color for tree cells that are selected.
    -   * 
    +   *
        * @see #setBackgroundSelectionColor(Color)
        */
       public Color getBackgroundSelectionColor()
    @@ -346,9 +346,9 @@ public class DefaultTreeCellRenderer
     
       /**
        * Sets the background color for tree cells that are not selected.
    -   * 
    +   *
        * @param c  the color (<code>null</code> permitted).
    -   * 
    +   *
        * @see #getBackgroundNonSelectionColor()
        */
       public void setBackgroundNonSelectionColor(Color c)
    @@ -360,9 +360,9 @@ public class DefaultTreeCellRenderer
        * Returns the background color for tree cells that are not selected.
        * The default value is obtained from the {@link LookAndFeel} defaults
        * table using the key <code>Tree.textBackground</code>.
    -   * 
    +   *
        * @return The background color for tree cells that are not selected.
    -   * 
    +   *
        * @see #setBackgroundNonSelectionColor(Color)
        */
       public Color getBackgroundNonSelectionColor()
    @@ -372,9 +372,9 @@ public class DefaultTreeCellRenderer
     
       /**
        * Sets the border color for tree cells that are selected.
    -   * 
    +   *
        * @param c  the color (<code>null</code> permitted).
    -   * 
    +   *
        * @see #getBorderSelectionColor()
        */
       public void setBorderSelectionColor(Color c)
    @@ -386,9 +386,9 @@ public class DefaultTreeCellRenderer
        * Returns the border color for tree cells that are selected.
        * The default value is obtained from the {@link LookAndFeel} defaults
        * table using the key <code>Tree.selectionBorderColor</code>.
    -   * 
    +   *
        * @return The border color for tree cells that are selected.
    -   * 
    +   *
        * @see #setBorderSelectionColor(Color)
        */
       public Color getBorderSelectionColor()
    @@ -398,9 +398,9 @@ public class DefaultTreeCellRenderer
     
       /**
        * Sets the font.
    -   * 
    +   *
        * @param f the font.
    -   * 
    +   *
        * @see #getFont()
        */
       public void setFont(Font f)
    @@ -412,7 +412,7 @@ public class DefaultTreeCellRenderer
     
       /**
        * Sets the background color.
    -   * 
    +   *
        * @param c the color.
        */
       public void setBackground(Color c)
    @@ -425,7 +425,7 @@ public class DefaultTreeCellRenderer
       /**
        * Returns a component (in fact <code>this</code>) that can be used to
        * render a tree cell with the specified state.
    -   * 
    +   *
        * @param tree  the tree that the cell belongs to.
        * @param val  the cell value.
        * @param selected  indicates whether or not the cell is selected.
    @@ -433,7 +433,7 @@ public class DefaultTreeCellRenderer
        * @param leaf  indicates whether or not the cell is a leaf in the tree.
        * @param row  the row index.
        * @param hasFocus  indicates whether or not the cell has the focus.
    -   * 
    +   *
        * @return <code>this</code>.
        */
       public Component getTreeCellRendererComponent(JTree tree, Object val,
    @@ -461,7 +461,7 @@ public class DefaultTreeCellRenderer
           {
             super.setBackground(getBackgroundSelectionColor());
             setForeground(getTextSelectionColor());
    -        
    +
             if (hasFocus)
               setBorderSelectionColor(UIManager.getLookAndFeelDefaults().
                                       getColor("Tree.selectionBorderColor"));
    @@ -480,9 +480,9 @@ public class DefaultTreeCellRenderer
     
       /**
        * Returns the current font.
    -   * 
    +   *
        * @return The current font.
    -   * 
    +   *
        * @see #setFont(Font)
        */
       public Font getFont()
    @@ -492,7 +492,7 @@ public class DefaultTreeCellRenderer
     
       /**
        * Paints the value. The background is filled based on selected.
    -   * 
    +   *
        * @param g the graphics device.
        */
       public void paint(Graphics g)
    @@ -504,25 +504,25 @@ public class DefaultTreeCellRenderer
         else
           {
             bgColor = getBackgroundNonSelectionColor();
    -	if (bgColor == null)
    +        if (bgColor == null)
               bgColor = getBackground();
           }
         // Paint background.
         int xOffset = -1;
         if (bgColor != null)
           {
    -	xOffset = getXOffset();
    -	g.setColor(bgColor);
    -	g.fillRect(xOffset, 0, getWidth() - xOffset, getHeight());
    +        xOffset = getXOffset();
    +        g.setColor(bgColor);
    +        g.fillRect(xOffset, 0, getWidth() - xOffset, getHeight());
           }
     
         if (hasFocus)
           {
             if (drawsFocusBorderAroundIcon)
               xOffset = 0;
    -	else if (xOffset == -1)
    +        else if (xOffset == -1)
               xOffset = getXOffset();
    -	paintFocus(g, xOffset, 0, getWidth() - xOffset, getHeight());
    +        paintFocus(g, xOffset, 0, getWidth() - xOffset, getHeight());
           }
         super.paint(g);
       }
    @@ -536,7 +536,7 @@ public class DefaultTreeCellRenderer
         if (col != null)
           {
             g.setColor(col);
    -	g.drawRect(x, y, w - 1, h - 1);
    +        g.drawRect(x, y, w - 1, h - 1);
           }
       }
     
    @@ -557,7 +557,7 @@ public class DefaultTreeCellRenderer
     
       /**
        * Returns the preferred size of the cell.
    -   * 
    +   *
        * @return The preferred size of the cell.
        */
       public Dimension getPreferredSize()
    @@ -565,7 +565,7 @@ public class DefaultTreeCellRenderer
         Dimension size = super.getPreferredSize();
         size.width += 3;
         return size;
    -  } 
    +  }
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    @@ -573,7 +573,7 @@ public class DefaultTreeCellRenderer
       public void validate()
       {
         // Overridden for performance reasons.
    -  } 
    +  }
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    @@ -581,11 +581,11 @@ public class DefaultTreeCellRenderer
       public void revalidate()
       {
         // Overridden for performance reasons.
    -  } 
    +  }
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    -   * 
    +   *
        * @param tm ignored
        * @param x coordinate of the region to mark as dirty
        * @param y coordinate of the region to mark as dirty
    @@ -595,26 +595,26 @@ public class DefaultTreeCellRenderer
       public void repaint(long tm, int x, int y, int width, int height)
       {
         // Overridden for performance reasons.
    -  } 
    +  }
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    -   * 
    +   *
        * @param area  the area to repaint.
        */
       public void repaint(Rectangle area)
       {
         // Overridden for performance reasons.
    -  } 
    +  }
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    -   * 
    +   *
        * @param name  the property name.
        * @param oldValue  the old value.
        * @param newValue  the new value.
        */
    -  protected void firePropertyChange(String name, Object oldValue, 
    +  protected void firePropertyChange(String name, Object oldValue,
                                         Object newValue)
       {
         // Overridden for performance reasons.
    @@ -622,7 +622,7 @@ public class DefaultTreeCellRenderer
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    -   * 
    +   *
        * @param name  the property name.
        * @param oldValue  the old value.
        * @param newValue  the new value.
    @@ -634,7 +634,7 @@ public class DefaultTreeCellRenderer
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    -   * 
    +   *
        * @param name  the property name.
        * @param oldValue  the old value.
        * @param newValue  the new value.
    @@ -646,7 +646,7 @@ public class DefaultTreeCellRenderer
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    -   * 
    +   *
        * @param name  the property name.
        * @param oldValue  the old value.
        * @param newValue  the new value.
    @@ -654,11 +654,11 @@ public class DefaultTreeCellRenderer
       public void firePropertyChange(String name, short oldValue, short newValue)
       {
         // Overridden for performance reasons.
    -  } 
    +  }
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    -   * 
    +   *
        * @param name  the property name.
        * @param oldValue  the old value.
        * @param newValue  the new value.
    @@ -670,7 +670,7 @@ public class DefaultTreeCellRenderer
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    -   * 
    +   *
        * @param name  the property name.
        * @param oldValue  the old value.
        * @param newValue  the new value.
    @@ -682,7 +682,7 @@ public class DefaultTreeCellRenderer
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    -   * 
    +   *
        * @param name  the property name.
        * @param oldValue  the old value.
        * @param newValue  the new value.
    @@ -694,7 +694,7 @@ public class DefaultTreeCellRenderer
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    -   * 
    +   *
        * @param name  the property name.
        * @param oldValue  the old value.
        * @param newValue  the new value.
    @@ -706,15 +706,15 @@ public class DefaultTreeCellRenderer
     
       /**
        * For performance reasons, this method is overridden to do nothing.
    -   * 
    +   *
        * @param name  the property name.
        * @param oldValue  the old value.
        * @param newValue  the new value.
        */
    -  public void firePropertyChange(String name, boolean oldValue, 
    +  public void firePropertyChange(String name, boolean oldValue,
                                      boolean newValue)
       {
         //  Overridden for performance reasons.
    -  } 
    +  }
     
    -} 
    +}
    diff --git a/libjava/classpath/javax/swing/tree/DefaultTreeModel.java b/libjava/classpath/javax/swing/tree/DefaultTreeModel.java
    index afee7ea..0fa4445 100644
    --- a/libjava/classpath/javax/swing/tree/DefaultTreeModel.java
    +++ b/libjava/classpath/javax/swing/tree/DefaultTreeModel.java
    @@ -1,6 +1,6 @@
    -/* DefaultTreeModel.java -- 
    +/* DefaultTreeModel.java --
        Copyright (C) 2002, 2004, 2005, 2006, Free Software Foundation, Inc.
    - 
    +
     This file is part of GNU Classpath.
     
     GNU Classpath is free software; you can redistribute it and/or modify
    @@ -49,7 +49,7 @@ import javax.swing.event.TreeModelListener;
     
     /**
      * DefaultTreeModel
    - * 
    + *
      * @author Andrew Selkirk
      */
     public class DefaultTreeModel
    @@ -74,7 +74,7 @@ public class DefaultTreeModel
     
       /**
        * Constructor DefaultTreeModel where any node can have children.
    -   * 
    +   *
        * @param root the tree root.
        */
       public DefaultTreeModel(TreeNode root)
    @@ -85,9 +85,9 @@ public class DefaultTreeModel
       /**
        * Create the DefaultTreeModel that may check if the nodes can have
        * children or not.
    -   * 
    +   *
        * @param aRoot the tree root.
    -   * @param asksAllowsChildren if true, each node is asked if it can have 
    +   * @param asksAllowsChildren if true, each node is asked if it can have
        * children. If false, the model does not care about this, supposing, that
        * any node can have children.
        */
    @@ -101,7 +101,7 @@ public class DefaultTreeModel
     
       /**
        * writeObject
    -   * 
    +   *
        * @param obj the object.
        * @exception IOException TODO
        */
    @@ -112,7 +112,7 @@ public class DefaultTreeModel
     
       /**
        * readObject
    -   * 
    +   *
        * @param value0 TODO
        * @exception IOException TODO
        * @exception ClassNotFoundException TODO
    @@ -125,7 +125,7 @@ public class DefaultTreeModel
     
       /**
        * asksAllowsChildren
    -   * 
    +   *
        * @return boolean
        */
       public boolean asksAllowsChildren()
    @@ -135,7 +135,7 @@ public class DefaultTreeModel
     
       /**
        * setAsksAllowsChildren
    -   * 
    +   *
        * @param value TODO
        */
       public void setAsksAllowsChildren(boolean value)
    @@ -145,7 +145,7 @@ public class DefaultTreeModel
     
       /**
        * setRoot
    -   * 
    +   *
        * @param root the root node.
        */
       public void setRoot(TreeNode root)
    @@ -155,7 +155,7 @@ public class DefaultTreeModel
     
       /**
        * getRoot
    -   * 
    +   *
        * @return Object
        */
       public Object getRoot()
    @@ -165,7 +165,7 @@ public class DefaultTreeModel
     
       /**
        * getIndexOfChild
    -   * 
    +   *
        * @param parent TODO
        * @param child TODO
        * @return int
    @@ -182,7 +182,7 @@ public class DefaultTreeModel
     
       /**
        * getChild
    -   * 
    +   *
        * @param node TODO
        * @param idx TODO
        * @return Object
    @@ -197,7 +197,7 @@ public class DefaultTreeModel
     
       /**
        * getChildCount
    -   * 
    +   *
        * @param node TODO
        * @return int
        */
    @@ -214,7 +214,7 @@ public class DefaultTreeModel
        * {@link #asksAllowsChildren} is true, then this checks if the TreeNode
        * allows children, otherwise it returns the TreeNode's <code>leaf</code>
        * property.
    -   * 
    +   *
        * @param node the node to check
        *
        * @return boolean <code>true</code> if the node is a leaf node,
    @@ -275,7 +275,7 @@ public class DefaultTreeModel
        * changed. It will fire the events, necessary to update the layout caches and
        * repaint the tree. The tree will <i>not</i> be properly refreshed if you
        * call the JTree.repaint instead.
    -   * 
    +   *
        * @param node - the tree node, from which the tree nodes have changed
        *          (inclusive). If you do not know this node, call {@link #reload()}
        *          instead.
    @@ -296,14 +296,14 @@ public class DefaultTreeModel
       }
     
       /**
    -   * Messaged when the user has altered the value for the item 
    -   * identified by path to newValue. If newValue signifies a truly new 
    +   * Messaged when the user has altered the value for the item
    +   * identified by path to newValue. If newValue signifies a truly new
        * value the model should post a treeNodesChanged event.
    -   * This sets the user object of the TreeNode identified by 
    -   * path and posts a node changed. If you use custom user objects 
    -   * in the TreeModel you're going to need to subclass this and set 
    +   * This sets the user object of the TreeNode identified by
    +   * path and posts a node changed. If you use custom user objects
    +   * in the TreeModel you're going to need to subclass this and set
        * the user object of the changed node to something meaningful.
    -   * 
    +   *
        * @param path - path to the node that the user has altered
        * @param newValue - the new value from the TreeCellEditor
        */
    @@ -314,7 +314,7 @@ public class DefaultTreeModel
           {
             ((MutableTreeNode) node).setUserObject(newValue);
             int[] ci = null;
    -        Object[] c = null; 
    +        Object[] c = null;
             Object[] parentPath = path.getPath();
             if (path.getPathCount() > 1)
               {
    @@ -327,17 +327,17 @@ public class DefaultTreeModel
                 c[0] = node;
                 parentPath = path.getParentPath().getPath();
               }
    -        
    +
             fireTreeNodesChanged(this, parentPath, ci, c);
           }
         }
     
       /**
        * Invoked this to insert newChild at location index in parents children.
    -   * This will then message nodesWereInserted to create the appropriate event. 
    -   * This is the preferred way to add children as it will create the 
    +   * This will then message nodesWereInserted to create the appropriate event.
    +   * This is the preferred way to add children as it will create the
        * appropriate event.
    -   * 
    +   *
        * @param newChild is the node to add to the parent's children
        * @param parent is the parent of the newChild
        * @param index is the index of the newChild
    @@ -353,10 +353,10 @@ public class DefaultTreeModel
       }
     
       /**
    -   * Message this to remove node from its parent. This will message 
    -   * nodesWereRemoved to create the appropriate event. This is the preferred 
    +   * Message this to remove node from its parent. This will message
    +   * nodesWereRemoved to create the appropriate event. This is the preferred
        * way to remove a node as it handles the event creation for you.
    -   * 
    +   *
        * @param node to be removed
        */
       public void removeNodeFromParent(MutableTreeNode node)
    @@ -373,7 +373,7 @@ public class DefaultTreeModel
       /**
        * Invoke this method after you've changed how node is to be represented
        * in the tree.
    -   * 
    +   *
        * @param node that was changed
        */
       public void nodeChanged(TreeNode node)
    @@ -387,10 +387,10 @@ public class DefaultTreeModel
       }
     
       /**
    -   * Invoke this method after you've inserted some TreeNodes 
    -   * into node. childIndices should be the index of the new elements and must 
    +   * Invoke this method after you've inserted some TreeNodes
    +   * into node. childIndices should be the index of the new elements and must
        * be sorted in ascending order.
    -   * 
    +   *
        * @param parent that had a child added to
        * @param childIndices of the children added
        */
    @@ -403,26 +403,26 @@ public class DefaultTreeModel
       }
     
       /**
    -   * Invoke this method after you've removed some TreeNodes from node. 
    -   * childIndices should be the index of the removed elements and 
    -   * must be sorted in ascending order. And removedChildren should be the 
    +   * Invoke this method after you've removed some TreeNodes from node.
    +   * childIndices should be the index of the removed elements and
    +   * must be sorted in ascending order. And removedChildren should be the
        * array of the children objects that were removed.
    -   * 
    +   *
        * @param parent that had a child added to
        * @param childIndices of the children added
        * @param removedChildren are all the children removed from parent.
        */
    -  public void nodesWereRemoved(TreeNode parent, int[] childIndices, 
    +  public void nodesWereRemoved(TreeNode parent, int[] childIndices,
                                    Object[] removedChildren)
       {
    -    fireTreeNodesRemoved(this, getPathToRoot(parent), childIndices, 
    +    fireTreeNodesRemoved(this, getPathToRoot(parent), childIndices,
                              removedChildren);
       }
     
       /**
    -   * Invoke this method after you've changed how the children identified by 
    +   * Invoke this method after you've changed how the children identified by
        * childIndices are to be represented in the tree.
    -   * 
    +   *
        * @param node that is the parent of the children that changed in a tree.
        * @param childIndices are the child nodes that changed.
        */
    @@ -435,9 +435,9 @@ public class DefaultTreeModel
       }
     
       /**
    -   * Invoke this method if you've totally changed the children of node and 
    +   * Invoke this method if you've totally changed the children of node and
        * its childrens children. This will post a treeStructureChanged event.
    -   * 
    +   *
        * @param node that had its children and grandchildren changed.
        */
       public void nodeStructureChanged(TreeNode node)
    @@ -456,10 +456,10 @@ public class DefaultTreeModel
       }
     
       /**
    -   * Builds the parents of node up to and including the root node, where 
    -   * the original node is the last element in the returned array. The 
    +   * Builds the parents of node up to and including the root node, where
    +   * the original node is the last element in the returned array. The
        * length of the returned array gives the node's depth in the tree.
    -   * 
    +   *
        * @param node - the TreeNode to get the path for
        * @return TreeNode[] - the path from node to the root
        */
    @@ -469,14 +469,14 @@ public class DefaultTreeModel
       }
     
       /**
    -   * Builds the parents of node up to and including the root node, where 
    -   * the original node is the last element in the returned array. The 
    +   * Builds the parents of node up to and including the root node, where
    +   * the original node is the last element in the returned array. The
        * length of the returned array gives the node's depth in the tree.
    -   * 
    +   *
        * @param node - the TreeNode to get the path for
    -   * @param depth - an int giving the number of steps already taken 
    +   * @param depth - an int giving the number of steps already taken
        * towards the root (on recursive calls), used to size the returned array
    -   * @return an array of TreeNodes giving the path from the root to the 
    +   * @return an array of TreeNodes giving the path from the root to the
        * specified node
        */
       protected TreeNode[] getPathToRoot(TreeNode node, int depth)
    @@ -485,7 +485,7 @@ public class DefaultTreeModel
           {
             if (depth == 0)
               return null;
    -        
    +
             return new TreeNode[depth];
           }
     
    @@ -496,7 +496,7 @@ public class DefaultTreeModel
     
       /**
        * Registers a listere to the model.
    -   * 
    +   *
        * @param listener the listener to add
        */
       public void addTreeModelListener(TreeModelListener listener)
    @@ -506,7 +506,7 @@ public class DefaultTreeModel
     
       /**
        * Removes a listener from the model.
    -   * 
    +   *
        * @param listener the listener to remove
        */
       public void removeTreeModelListener(TreeModelListener listener)
    @@ -516,9 +516,9 @@ public class DefaultTreeModel
     
       /**
        * Returns all registered <code>TreeModelListener</code> listeners.
    -   * 
    +   *
        * @return an array of listeners.
    -   * 
    +   *
        * @since 1.4
        */
       public TreeModelListener[] getTreeModelListeners()
    @@ -528,10 +528,10 @@ public class DefaultTreeModel
       }
     
       /**
    -   * Notifies all listeners that have registered interest for notification 
    -   * on this event type. The event instance is lazily created using the parameters 
    +   * Notifies all listeners that have registered interest for notification
    +   * on this event type. The event instance is lazily created using the parameters
        * passed into the fire method.
    -   * 
    +   *
        * @param source the node being changed
        * @param path the path to the root node
        * @param childIndices the indices of the changed elements
    @@ -551,7 +551,7 @@ public class DefaultTreeModel
     
       /**
        * fireTreeNodesInserted
    -   * 
    +   *
        * @param source the node where new nodes got inserted
        * @param path the path to the root node
        * @param childIndices the indices of the new elements
    @@ -570,7 +570,7 @@ public class DefaultTreeModel
     
       /**
        * fireTreeNodesRemoved
    -   * 
    +   *
        * @param source the node where nodes got removed-
        * @param path the path to the root node
        * @param childIndices the indices of the removed elements
    @@ -589,7 +589,7 @@ public class DefaultTreeModel
     
       /**
        * fireTreeStructureChanged
    -   * 
    +   *
        * @param source the node where the model has changed
        * @param path the path to the root node
        * @param childIndices the indices of the affected elements
    diff --git a/libjava/classpath/javax/swing/tree/DefaultTreeSelectionModel.java b/libjava/classpath/javax/swing/tree/DefaultTreeSelectionModel.java
    index b2806f2..29add0e 100644
    --- a/libjava/classpath/javax/swing/tree/DefaultTreeSelectionModel.java
    +++ b/libjava/classpath/javax/swing/tree/DefaultTreeSelectionModel.java
    @@ -1,6 +1,6 @@
    -/* DefaultTreeSelectionModel.java 
    +/* DefaultTreeSelectionModel.java
        Copyright (C) 2002, 2004, 2005, 2006 Free Software Foundation, Inc.
    -   
    +
     This file is part of GNU Classpath.
     
     GNU Classpath is free software; you can redistribute it and/or modify
    @@ -63,7 +63,7 @@ import javax.swing.event.TreeSelectionListener;
      * listeners are notified about the path and not the row changes. If you
      * specifically need to track the row changes, register the listener for the
      * expansion events.
    - * 
    + *
      * @author Andrew Selkirk
      * @author Audrius Meskauskas
      */
    @@ -195,13 +195,13 @@ public class DefaultTreeSelectionModel
        * Creates a clone of this DefaultTreeSelectionModel with the same selection.
        * The cloned instance will have the same registered listeners, the listeners
        * themselves will not be cloned. The selection will be cloned.
    -   * 
    +   *
        * @exception CloneNotSupportedException should not be thrown here
        * @return a copy of this DefaultTreeSelectionModel
        */
       public Object clone() throws CloneNotSupportedException
       {
    -    DefaultTreeSelectionModel cloned = 
    +    DefaultTreeSelectionModel cloned =
           (DefaultTreeSelectionModel) super.clone();
         cloned.changeSupport = null;
         cloned.selection = (TreePath[]) selection.clone();
    @@ -217,10 +217,10 @@ public class DefaultTreeSelectionModel
       /**
        * Returns a string that shows this object's properties.
        * The returned string lists the selected tree rows, if any.
    -   * 
    +   *
        * @return a string that shows this object's properties
        */
    -  public String toString() 
    +  public String toString()
       {
         if (isSelectionEmpty())
           return "[selection empty]";
    @@ -239,7 +239,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * writeObject
    -   * 
    +   *
        * @param value0 TODO
        * @exception IOException TODO
        */
    @@ -250,7 +250,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * readObject
    -   * 
    +   *
        * @param value0 TODO
        * @exception IOException TODO
        * @exception ClassNotFoundException TODO
    @@ -263,7 +263,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Sets the RowMapper that should be used to map between paths and their rows.
    -   * 
    +   *
        * @param mapper the RowMapper to set
        * @see RowMapper
        */
    @@ -276,7 +276,7 @@ public class DefaultTreeSelectionModel
       /**
        * Returns the RowMapper that is currently used to map between paths and their
        * rows.
    -   * 
    +   *
        * @return the current RowMapper
        * @see RowMapper
        */
    @@ -289,7 +289,7 @@ public class DefaultTreeSelectionModel
        * Sets the current selection mode. Possible values are
        * {@link #SINGLE_TREE_SELECTION}, {@link #CONTIGUOUS_TREE_SELECTION} and
        * {@link #DISCONTIGUOUS_TREE_SELECTION}.
    -   * 
    +   *
        * @param mode the selection mode to be set
        * @see #getSelectionMode
        * @see #SINGLE_TREE_SELECTION
    @@ -314,7 +314,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Returns the current selection mode.
    -   * 
    +   *
        * @return the current selection mode
        * @see #setSelectionMode
        * @see #SINGLE_TREE_SELECTION
    @@ -329,7 +329,7 @@ public class DefaultTreeSelectionModel
       /**
        * Sets this path as the only selection. If this changes the selection the
        * registered TreeSelectionListeners are notified.
    -   * 
    +   *
        * @param path the path to set as selection
        */
       public void setSelectionPath(TreePath path)
    @@ -339,10 +339,10 @@ public class DefaultTreeSelectionModel
           paths = new TreePath[]{ path };
         setSelectionPaths(paths);
       }
    -  
    +
       /**
        * Get the number of the tree row for the given path.
    -   * 
    +   *
        * @param path the tree path
        * @return the tree row for this path or -1 if the path is not visible.
        */
    @@ -373,7 +373,7 @@ public class DefaultTreeSelectionModel
        * Sets the paths as selection. This method checks for duplicates and removes
        * them. If this changes the selection the registered TreeSelectionListeners
        * are notified.
    -   * 
    +   *
        * @param paths the paths to set as selection
        */
       public void setSelectionPaths(TreePath[] paths)
    @@ -468,10 +468,10 @@ public class DefaultTreeSelectionModel
        * Adds a path to the list of selected paths. This method checks if the path
        * is already selected and doesn't add the same path twice. If this changes
        * the selection the registered TreeSelectionListeners are notified.
    -   * 
    -   * The lead path is changed to the added path. This also happen if the 
    +   *
    +   * The lead path is changed to the added path. This also happen if the
        * passed path was already selected before.
    -   * 
    +   *
        * @param path the path to add to the selection
        */
       public void addSelectionPath(TreePath path)
    @@ -487,7 +487,7 @@ public class DefaultTreeSelectionModel
        * Adds the paths to the list of selected paths. This method checks if the
        * paths are already selected and doesn't add the same path twice. If this
        * changes the selection the registered TreeSelectionListeners are notified.
    -   * 
    +   *
        * @param paths the paths to add to the selection
        */
       public void addSelectionPaths(TreePath[] paths)
    @@ -568,7 +568,7 @@ public class DefaultTreeSelectionModel
       /**
        * Removes the path from the selection. If this changes the selection the
        * registered TreeSelectionListeners are notified.
    -   * 
    +   *
        * @param path the path to remove
        */
       public void removeSelectionPath(TreePath path)
    @@ -580,7 +580,7 @@ public class DefaultTreeSelectionModel
       /**
        * Removes the paths from the selection. If this changes the selection the
        * registered TreeSelectionListeners are notified.
    -   * 
    +   *
        * @param paths the paths to remove
        */
       public void removeSelectionPaths(TreePath[] paths)
    @@ -639,7 +639,7 @@ public class DefaultTreeSelectionModel
       /**
        * Returns the first path in the selection. This is especially useful when the
        * selectionMode is {@link #SINGLE_TREE_SELECTION}.
    -   * 
    +   *
        * @return the first path in the selection
        */
       public TreePath getSelectionPath()
    @@ -652,7 +652,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Returns the complete selection.
    -   * 
    +   *
        * @return the complete selection
        */
       public TreePath[] getSelectionPaths()
    @@ -662,7 +662,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Returns the number of paths in the selection.
    -   * 
    +   *
        * @return the number of paths in the selection
        */
       public int getSelectionCount()
    @@ -675,7 +675,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Checks if a given path is in the selection.
    -   * 
    +   *
        * @param path the path to check
        * @return <code>true</code> if the path is in the selection,
        *         <code>false</code> otherwise
    @@ -695,7 +695,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Checks if the selection is empty.
    -   * 
    +   *
        * @return <code>true</code> if the selection is empty, <code>false</code>
        *         otherwise
        */
    @@ -729,7 +729,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Adds a <code>TreeSelectionListener</code> object to this model.
    -   * 
    +   *
        * @param listener the listener to add
        */
       public void addTreeSelectionListener(TreeSelectionListener listener)
    @@ -739,7 +739,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Removes a <code>TreeSelectionListener</code> object from this model.
    -   * 
    +   *
        * @param listener the listener to remove
        */
       public void removeTreeSelectionListener(TreeSelectionListener listener)
    @@ -749,7 +749,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Returns all <code>TreeSelectionListener</code> added to this model.
    -   * 
    +   *
        * @return an array of listeners
        * @since 1.4
        */
    @@ -760,7 +760,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * fireValueChanged
    -   * 
    +   *
        * @param event the event to fire.
        */
       protected void fireValueChanged(TreeSelectionEvent event)
    @@ -773,7 +773,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Returns all added listeners of a special type.
    -   * 
    +   *
        * @param listenerType the listener type
        * @return an array of listeners
        * @since 1.3
    @@ -785,7 +785,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Returns the currently selected rows.
    -   * 
    +   *
        * @return the currently selected rows
        */
       public int[] getSelectionRows()
    @@ -802,7 +802,7 @@ public class DefaultTreeSelectionModel
                   {
                     if (rows[i] == -1)
                       invisible++;
    -                
    +
                   }
                 // Clean up invisible rows.
                 if (invisible > 0)
    @@ -831,7 +831,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Returns the smallest row index from the selection.
    -   * 
    +   *
        * @return the smallest row index from the selection
        */
       public int getMinSelectionRow()
    @@ -841,7 +841,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Returns the largest row index from the selection.
    -   * 
    +   *
        * @return the largest row index from the selection
        */
       public int getMaxSelectionRow()
    @@ -851,7 +851,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Checks if a particular row is selected.
    -   * 
    +   *
        * @param row the index of the row to check
        * @return <code>true</code> if the row is in this selection,
        *         <code>false</code> otherwise
    @@ -899,7 +899,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * getLeadSelectionRow
    -   * 
    +   *
        * @return int
        */
       public int getLeadSelectionRow()
    @@ -909,7 +909,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * getLeadSelectionPath
    -   * 
    +   *
        * @return TreePath
        */
       public TreePath getLeadSelectionPath()
    @@ -919,7 +919,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Adds a <code>PropertyChangeListener</code> object to this model.
    -   * 
    +   *
        * @param listener the listener to add.
        */
       public void addPropertyChangeListener(PropertyChangeListener listener)
    @@ -931,7 +931,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Removes a <code>PropertyChangeListener</code> object from this model.
    -   * 
    +   *
        * @param listener the listener to remove.
        */
       public void removePropertyChangeListener(PropertyChangeListener listener)
    @@ -942,7 +942,7 @@ public class DefaultTreeSelectionModel
     
       /**
        * Returns all added <code>PropertyChangeListener</code> objects.
    -   * 
    +   *
        * @return an array of listeners.
        * @since 1.4
        */
    @@ -1000,12 +1000,12 @@ public class DefaultTreeSelectionModel
             && selection.length > 1)
           setSelectionPath(selection[0]);
       }
    -  
    +
       /**
        * Returns <code>true</code> if the paths are contiguous (take subsequent
        * rows in the diplayed tree view. The method returns <code>true</code> if
        * we have no RowMapper assigned.
    -   * 
    +   *
        * @param paths the paths to check for continuity
        * @return <code>true</code> if the paths are contiguous or we have no
        *         RowMapper assigned
    @@ -1038,7 +1038,7 @@ public class DefaultTreeSelectionModel
                     selected.set(row);
                     valid++;
                   }
    -            
    +
               }
           }
         int max = valid + min;
    @@ -1057,7 +1057,7 @@ public class DefaultTreeSelectionModel
        * <li>selectionMode is {@link #DISCONTIGUOUS_TREE_SELECTION}</li>
        * <li>adding the paths to the selection still results in a contiguous set of
        * paths</li>
    -   * 
    +   *
        * @param paths the paths to check
        * @return <code>true</code> if the paths can be added with respect to the
        *         selectionMode
    @@ -1107,11 +1107,11 @@ public class DefaultTreeSelectionModel
             return false;
         return true;
       }
    -  
    +
       /**
        * Checks if the paths can be removed without breaking the continuity of the
        * selection according to selectionMode.
    -   * 
    +   *
        * @param paths the paths to check
        * @return <code>true</code> if the paths can be removed with respect to the
        *         selectionMode
    @@ -1121,20 +1121,20 @@ public class DefaultTreeSelectionModel
         if (rowMapper == null || isSelectionEmpty()
             || selectionMode == DISCONTIGUOUS_TREE_SELECTION)
           return true;
    -    
    +
         HashSet<TreePath> set = new HashSet<TreePath>();
         for (int i = 0; i < selection.length; i++)
           set.add(selection[i]);
    -    
    +
         for (int i = 0; i < paths.length; i++)
           set.remove(paths[i]);
    -    
    +
         TreePath[] remaining = new TreePath[set.size()];
         Iterator<TreePath> iter = set.iterator();
    -    
    +
         for (int i = 0; i < remaining.length; i++)
           remaining[i] = iter.next();
    -    
    +
         return arePathsContiguous(remaining);
       }
     
    @@ -1142,12 +1142,12 @@ public class DefaultTreeSelectionModel
        * Notify the installed listeners that the given patches have changed. This
        * method will call listeners if invoked, but it is not called from the
        * implementation of this class.
    -   * 
    +   *
        * @param vPaths the vector of the changed patches
        * @param oldLeadSelection the old selection index
        */
       protected void notifyPathChange(Vector<PathPlaceHolder> vPaths,
    -				  TreePath oldLeadSelection)
    +                                  TreePath oldLeadSelection)
       {
     
         int numChangedPaths = vPaths.size();
    diff --git a/libjava/classpath/javax/swing/tree/ExpandVetoException.java b/libjava/classpath/javax/swing/tree/ExpandVetoException.java
    index 57531d5..fd6330c 100644
    --- a/libjava/classpath/javax/swing/tree/ExpandVetoException.java
    +++ b/libjava/classpath/javax/swing/tree/ExpandVetoException.java
    @@ -43,7 +43,7 @@ import javax.swing.event.TreeExpansionEvent;
      * ExpandVetoException
      * @author Andrew Selkirk
      */
    -public class ExpandVetoException extends Exception 
    +public class ExpandVetoException extends Exception
     {
     
       /**
    @@ -56,21 +56,21 @@ public class ExpandVetoException extends Exception
        * Constructor ExpandVetoException
        * @param event Tree Expansion Event
        */
    -  public ExpandVetoException(TreeExpansionEvent event) 
    +  public ExpandVetoException(TreeExpansionEvent event)
       {
         super();
         this.event = event;
    -  } 
    +  }
     
       /**
        * Constructor ExpandVetoException
        * @param event Tree Expansion Event
        * @param message Message
        */
    -  public ExpandVetoException(TreeExpansionEvent event, String message) 
    +  public ExpandVetoException(TreeExpansionEvent event, String message)
       {
         super(message);
         this.event = event;
    -  } 
    +  }
     
    -} 
    +}
    diff --git a/libjava/classpath/javax/swing/tree/FixedHeightLayoutCache.java b/libjava/classpath/javax/swing/tree/FixedHeightLayoutCache.java
    index 89f05d3..6ff2e35 100644
    --- a/libjava/classpath/javax/swing/tree/FixedHeightLayoutCache.java
    +++ b/libjava/classpath/javax/swing/tree/FixedHeightLayoutCache.java
    @@ -55,13 +55,13 @@ import javax.swing.event.TreeModelEvent;
      * have the same fixed height. This may be not the case, for instance, if leaves
      * and branches have different height, of if the tree rows may have arbitrary
      * variable height. This class will also work if the NodeDimensions are not
    - * set.  
    - * 
    + * set.
    + *
      * @author Audrius Meskauskas
    - * @author Andrew Selkirk 
    + * @author Andrew Selkirk
      */
     public class FixedHeightLayoutCache
    -		extends VariableHeightLayoutCache
    +                extends VariableHeightLayoutCache
     {
       /**
        * The cached node record.
    @@ -74,47 +74,47 @@ public class FixedHeightLayoutCache
           depth = aDepth;
           parent = aParent;
           node = aNode;
    -      
    -      isExpanded = expanded.contains(aNode); 
    +
    +      isExpanded = expanded.contains(aNode);
         }
    -    
    +
         /**
          * The row, where the tree node is displayed.
          */
    -    final int row;    
    -    
    +    final int row;
    +
         /**
          * The nesting depth
          */
         final int depth;
    -    
    +
         /**
          * The parent of the given node, null for the root node.
          */
         final Object parent;
    -    
    +
         /**
          * This node.
          */
         final Object node;
    -    
    +
         /**
          * True for the expanded nodes. The value is calculated in constructor.
          * Using this field saves one hashtable access operation.
          */
         final boolean isExpanded;
    -    
    +
         /**
          * The cached bounds of the tree row.
          */
         Rectangle bounds;
    -    
    +
         /**
          * The path from the tree top to the given node (computed under first
          * demand)
          */
         private TreePath path;
    -    
    +
         /**
          * Get the path for this node. The derived class is returned,
          * making check for the last child of some parent easier.
    @@ -155,7 +155,7 @@ public class FixedHeightLayoutCache
             }
           return path;
         }
    -    
    +
         /**
          * Get the rectangle bounds (compute, if required).
          */
    @@ -164,37 +164,37 @@ public class FixedHeightLayoutCache
           // This method may be called in the context when the tree rectangle is
           // not known. To work around this, it is assumed near infinitely large.
           if (bounds == null)
    -        bounds = getNodeDimensions(node, row, depth, isExpanded, 
    +        bounds = getNodeDimensions(node, row, depth, isExpanded,
                                        new Rectangle());
    -      return bounds;      
    +      return bounds;
         }
       }
    -  
    +
       /**
        * The set of all expanded tree nodes.
        */
       Set<Object> expanded = new HashSet<Object>();
    -  
    +
       /**
        * Maps nodes to the row numbers.
        */
       Hashtable<Object,NodeRecord> nodes = new Hashtable<Object,NodeRecord>();
    -  
    +
       /**
        * Maps row numbers to nodes.
        */
       Hashtable<Integer,Object> row2node = new Hashtable<Integer,Object>();
    -  
    +
       /**
        * If true, the row map must be recomputed before using.
        */
       boolean dirty;
    -  
    +
       /**
        * The cumulative height of all rows.
        */
       int totalHeight;
    -  
    +
       /**
        * The maximal width.
        */
    @@ -208,21 +208,21 @@ public class FixedHeightLayoutCache
       public FixedHeightLayoutCache()
       {
         // Nothing to do here.
    -  } 
    +  }
     
       /**
        * Get the total number of rows in the tree. Every displayed node occupies the
        * single row. The root node row is included if the root node is set as
        * visible (false by default).
    -   * 
    +   *
        * @return int the number of the displayed rows.
        */
       public int getRowCount()
       {
         if (dirty) update();
         return row2node.size();
    -  } 
    -  
    +  }
    +
       /**
        * Refresh the row map.
        */
    @@ -230,7 +230,7 @@ public class FixedHeightLayoutCache
       {
         nodes.clear();
         row2node.clear();
    -    
    +
         totalHeight = maximalWidth = 0;
     
         Object root = treeModel.getRoot();
    @@ -250,7 +250,7 @@ public class FixedHeightLayoutCache
           }
         dirty = false;
       }
    -  
    +
       /**
        * Recursively counts all rows in the tree.
        */
    @@ -258,10 +258,10 @@ public class FixedHeightLayoutCache
       {
         Integer n = new Integer(row2node.size());
         row2node.put(n, node);
    -    
    +
         NodeRecord nr = new NodeRecord(n.intValue(), depth, node, parent);
         nodes.put(node, nr);
    -     
    +
         // For expanded nodes and for the root node.
         if (expanded.contains(node))
           {
    @@ -277,7 +277,7 @@ public class FixedHeightLayoutCache
     
       /**
        * Discard the bound information for the given path.
    -   * 
    +   *
        * @param path the path, for that the bound information must be recomputed.
        */
       public void invalidatePathBounds(TreePath path)
    @@ -285,7 +285,7 @@ public class FixedHeightLayoutCache
         NodeRecord r = (NodeRecord) nodes.get(path.getLastPathComponent());
         if (r != null)
           r.bounds = null;
    -  } 
    +  }
     
       /**
        * Mark all cached information as invalid.
    @@ -293,11 +293,11 @@ public class FixedHeightLayoutCache
       public void invalidateSizes()
       {
         dirty = true;
    -  } 
    +  }
     
       /**
        * Set the expanded state of the given path. The expansion states must be
    -   * always updated when expanding and colapsing the tree nodes. Otherwise 
    +   * always updated when expanding and colapsing the tree nodes. Otherwise
        * other methods will not work correctly after the nodes are collapsed or
        * expanded.
        *
    @@ -310,23 +310,23 @@ public class FixedHeightLayoutCache
           expanded.add(path.getLastPathComponent());
         else
           expanded.remove(path.getLastPathComponent());
    -    
    +
         dirty = true;
       }
    -  
    +
       /**
        * Get the expanded state for the given tree path.
    -   * 
    +   *
        * @return true if the given path is expanded, false otherwise.
        */
       public boolean isExpanded(TreePath path)
       {
         return expanded.contains(path.getLastPathComponent());
    -  } 
    +  }
     
       /**
        * Get bounds for the given tree path.
    -   * 
    +   *
        * @param path the tree path
        * @param rect the rectangle that will be reused to return the result.
        * @return Rectangle the bounds of the last line, defined by the given path.
    @@ -356,11 +356,11 @@ public class FixedHeightLayoutCache
             rect.setRect(r.bounds);
           }
         return rect;
    -  } 
    +  }
     
       /**
        * Get the path, the last element of that is displayed in the given row.
    -   * 
    +   *
        * @param row the row
        * @return TreePath the path
        */
    @@ -376,11 +376,11 @@ public class FixedHeightLayoutCache
             NodeRecord r = nodes.get(last);
             return r.getPath();
           }
    -  } 
    +  }
     
       /**
        * Get the row, displaying the last node of the given path.
    -   * 
    +   *
        * @param path the path
        * @return int the row number or -1 if the end of the path is not visible.
        */
    @@ -388,7 +388,7 @@ public class FixedHeightLayoutCache
       {
         if (path == null)
           return -1;
    -    
    +
         if (dirty) update();
     
         NodeRecord r = nodes.get(path.getLastPathComponent());
    @@ -396,11 +396,11 @@ public class FixedHeightLayoutCache
           return - 1;
         else
           return r.row;
    -  } 
    +  }
     
       /**
        * Get the path, closest to the given point.
    -   * 
    +   *
        * @param x the point x coordinate
        * @param y the point y coordinate
        * @return the tree path, closest to the the given point
    @@ -414,7 +414,7 @@ public class FixedHeightLayoutCache
         NodeRecord best = null;
         NodeRecord r;
         Enumeration<NodeRecord> en = nodes.elements();
    -    
    +
         int dist = Integer.MAX_VALUE;
     
         while (en.hasMoreElements() && dist > 0)
    @@ -440,8 +440,8 @@ public class FixedHeightLayoutCache
           return null;
         else
           return best.getPath();
    -  } 
    -  
    +  }
    +
       /**
        * Get the closest distance from this point till the given rectangle. Only
        * vertical distance is taken into consideration.
    @@ -461,22 +461,22 @@ public class FixedHeightLayoutCache
        * is not expanded, 0 is returned. Otherwise, the number of children is
        * obtained from the model as the number of children for the last path
        * component.
    -   * 
    +   *
        * @param path the tree path
        * @return int the number of the visible childs (for row).
        */
    -  public int getVisibleChildCount(TreePath path)  
    +  public int getVisibleChildCount(TreePath path)
       {
         if (isExpanded(path))
    -      return 0; 
    +      return 0;
         else
           return treeModel.getChildCount(path.getLastPathComponent());
    -  } 
    +  }
     
       /**
        * Get the enumeration over all visible paths that start from the given
        * parent path.
    -   * 
    +   *
        * @param parentPath the parent path
        * @return the enumeration over pathes
        */
    @@ -500,9 +500,9 @@ public class FixedHeightLayoutCache
     
       /**
        * Return the expansion state of the given tree path. The expansion state
    -   * must be previously set with the 
    +   * must be previously set with the
        * {@link #setExpandedState(TreePath, boolean)}
    -   * 
    +   *
        * @param path the path being checked
        * @return true if the last node of the path is expanded, false otherwise.
        */
    @@ -513,44 +513,44 @@ public class FixedHeightLayoutCache
     
       /**
        * The listener method, called when the tree nodes are changed.
    -   * 
    +   *
        * @param event the change event
        */
       public void treeNodesChanged(TreeModelEvent event)
       {
         dirty = true;
    -  } 
    +  }
     
       /**
        * The listener method, called when the tree nodes are inserted.
    -   * 
    +   *
        * @param event the change event
        */
       public void treeNodesInserted(TreeModelEvent event)
       {
         dirty = true;
    -  } 
    +  }
     
       /**
        * The listener method, called when the tree nodes are removed.
    -   * 
    +   *
        * @param event the change event
        */
       public void treeNodesRemoved(TreeModelEvent event)
       {
         dirty = true;
    -  } 
    +  }
     
       /**
    -   * Called when the tree structure has been changed. 
    -   * 
    +   * Called when the tree structure has been changed.
    +   *
        * @param event the change event
        */
       public void treeStructureChanged(TreeModelEvent event)
       {
         dirty = true;
    -  } 
    -  
    +  }
    +
       /**
        * Set the tree model that will provide the data.
        */
    @@ -561,11 +561,11 @@ public class FixedHeightLayoutCache
         expanded.add(treeModel.getRoot());
         dirty = true;
       }
    -  
    +
       /**
        * Inform the instance if the tree root node is visible. If this method
        * is not called, it is assumed that the tree root node is not visible.
    -   * 
    +   *
        * @param visible true if the tree root node is visible, false
        * otherwise.
        */
    @@ -600,7 +600,7 @@ public class FixedHeightLayoutCache
       {
         if (dirty)
           update();
    -    
    +
         maximalWidth = 0;
         Enumeration<NodeRecord> en = nodes.elements();
         while (en.hasMoreElements())
    @@ -612,17 +612,17 @@ public class FixedHeightLayoutCache
           }
         return maximalWidth;
       }
    -  
    +
       /**
        * Returns true if this layout supposes that all rows have the fixed
        * height.
    -   * 
    +   *
        * @return boolean true if all rows in the tree must have the fixed
        * height (true by default).
        */
       protected boolean isFixedRowHeight()
       {
    -    return true; 
    +    return true;
       }
    -  
    +
     }
    diff --git a/libjava/classpath/javax/swing/tree/MutableTreeNode.java b/libjava/classpath/javax/swing/tree/MutableTreeNode.java
    index 9f0ff4d..4a0f4b6 100644
    --- a/libjava/classpath/javax/swing/tree/MutableTreeNode.java
    +++ b/libjava/classpath/javax/swing/tree/MutableTreeNode.java
    @@ -39,7 +39,7 @@ package javax.swing.tree;
     
     /**
      * MutableTreeNode public interface
    - 
    +
      * @author Andrew Selkirk
      */
     public interface MutableTreeNode extends TreeNode
    @@ -79,7 +79,7 @@ public interface MutableTreeNode extends TreeNode
       void remove(MutableTreeNode node);
     
       /**
    -   * Sets a user object, the data represented by the node. 
    +   * Sets a user object, the data represented by the node.
        *
        * @param object the data
        */
    diff --git a/libjava/classpath/javax/swing/tree/RowMapper.java b/libjava/classpath/javax/swing/tree/RowMapper.java
    index 59eb1e3..d62b703 100644
    --- a/libjava/classpath/javax/swing/tree/RowMapper.java
    +++ b/libjava/classpath/javax/swing/tree/RowMapper.java
    @@ -41,7 +41,7 @@ package javax.swing.tree;
      * RowMapper public interface
      * @author Andrew Selkirk
      */
    -public interface RowMapper 
    +public interface RowMapper
     {
     
       /**
    @@ -51,4 +51,4 @@ public interface RowMapper
        */
       int[] getRowsForPaths(TreePath[] path);
     
    -} 
    \ No newline at end of file
    +}
    diff --git a/libjava/classpath/javax/swing/tree/TreeCellEditor.java b/libjava/classpath/javax/swing/tree/TreeCellEditor.java
    index 8951f31..614f98d 100644
    --- a/libjava/classpath/javax/swing/tree/TreeCellEditor.java
    +++ b/libjava/classpath/javax/swing/tree/TreeCellEditor.java
    @@ -46,26 +46,26 @@ import javax.swing.JTree;
     /**
      * A <code>TreeCellEditor</code> is used by the {@link JTree} component to
      * edit individual tree elements (nodes).
    - * 
    + *
      * @author Andrew Selkirk
      */
     public interface TreeCellEditor extends CellEditor
     {
       /**
    -   * Returns a component that has been configured to edit one element (or 
    +   * Returns a component that has been configured to edit one element (or
        * node) in a {@link JTree} component.  The arguments to this method are used
        * to pass in the value and state of the element to be edited.
    -   * 
    +   *
        * @param tree  the tree.
        * @param value  the value to render.
        * @param isSelected  is the tree element selected?
        * @param expanded  is the tree element expanded?
        * @param leaf  is the tree element a leaf node?
        * @param row  the row index.
    -   * 
    +   *
        * @return A component that is configured for editing the tree element.
        */
       Component getTreeCellEditorComponent(JTree tree, Object value,
    -				       boolean isSelected, boolean expanded,
    -				       boolean leaf, int row);
    +                                       boolean isSelected, boolean expanded,
    +                                       boolean leaf, int row);
     }
    diff --git a/libjava/classpath/javax/swing/tree/TreeCellRenderer.java b/libjava/classpath/javax/swing/tree/TreeCellRenderer.java
    index b7eeb9c..fdfc0a1 100644
    --- a/libjava/classpath/javax/swing/tree/TreeCellRenderer.java
    +++ b/libjava/classpath/javax/swing/tree/TreeCellRenderer.java
    @@ -45,16 +45,16 @@ import javax.swing.JTree;
     /**
      * A <code>TreeCellRenderer</code> is used by the {@link JTree} component to
      * paint individual tree elements (nodes).
    - * 
    + *
      * @author Andrew Selkirk
      */
     public interface TreeCellRenderer
     {
       /**
    -   * Returns a component that has been configured to display one element (or 
    +   * Returns a component that has been configured to display one element (or
        * node) in a {@link JTree} component.  The arguments to this method are used
        * to pass in the value and state of the element to be rendered.
    -   * 
    +   *
        * @param tree  the tree.
        * @param value  the value to render.
        * @param selected  is the tree element selected?
    @@ -62,7 +62,7 @@ public interface TreeCellRenderer
        * @param leaf  is the tree element a leaf node?
        * @param row  the row index.
        * @param hasFocus  does the tree element have the focus?
    -   * 
    +   *
        * @return A component that is configured for rendering the tree element.
        */
       Component getTreeCellRendererComponent(JTree tree, Object value,
    diff --git a/libjava/classpath/javax/swing/tree/TreeNode.java b/libjava/classpath/javax/swing/tree/TreeNode.java
    index 53d52f0a..b68b498 100644
    --- a/libjava/classpath/javax/swing/tree/TreeNode.java
    +++ b/libjava/classpath/javax/swing/tree/TreeNode.java
    @@ -42,16 +42,16 @@ import java.util.Enumeration;
     
     /**
      * A tree node.
    - * 
    + *
      * @author Andrew Selkirk
      */
    -public interface TreeNode 
    +public interface TreeNode
     {
     
       /**
        * Returns the parent node for this tree node, or <code>null</code> if this
        * node has no parent.
    -   * 
    +   *
        * @return The parent node (possibly <code>null</code>).
        */
       TreeNode getParent();
    @@ -59,56 +59,55 @@ public interface TreeNode
       /**
        * Returns the index of the specified child node, or -1 if the node is not
        * in fact a child of this node.
    -   * 
    +   *
        * @param node  the node (<code>null</code> not permitted).
    -   * 
    +   *
        * @return The index of the specified child node, or -1.
    -   * 
    +   *
        * @throws IllegalArgumentException if <code>node</code> is <code>null</code>.
        */
       int getIndex(TreeNode node);
     
       /**
        * Returns the child node at the given index.
    -   * 
    -   * @param index  the index (in the range <code>0</code> to 
    +   *
    +   * @param index  the index (in the range <code>0</code> to
        *     <code>getChildCount() - 1</code>).
    -   *     
    +   *
        * @return The child node at the given index.
        */
       TreeNode getChildAt(int index);
     
       /**
        * Returns the number of children for this node.
    -   * 
    +   *
        * @return The number of children for this node.
        */
       int getChildCount();
     
       /**
    -   * Returns <code>true</code> if this node allows children, and 
    +   * Returns <code>true</code> if this node allows children, and
        * <code>false</code> otherwise.
    -   * 
    +   *
        * @return A boolean.
        */
       boolean getAllowsChildren();
     
       /**
    -   * Returns <code>true</code> if this node is a leaf node, and 
    +   * Returns <code>true</code> if this node is a leaf node, and
        * <code>false</code> otherwise.
    -   * 
    +   *
        * @return A boolean.
        */
       boolean isLeaf();
     
       /**
    -   * Returns an enumeration of the children of this node, or an empty 
    +   * Returns an enumeration of the children of this node, or an empty
        * enumeration if this node has no children.
    -   * 
    +   *
        * @return An enumeration of the children of this node.
        */
       @SuppressWarnings("unchecked") // Required for API compatibility
       Enumeration children();
     
    -} 
    -
    +}
    diff --git a/libjava/classpath/javax/swing/tree/TreePath.java b/libjava/classpath/javax/swing/tree/TreePath.java
    index 1c4d787..7649706 100644
    --- a/libjava/classpath/javax/swing/tree/TreePath.java
    +++ b/libjava/classpath/javax/swing/tree/TreePath.java
    @@ -45,7 +45,7 @@ import java.util.Arrays;
      * A <code>TreePath</code> represents a sequence of tree elements that form
      * a path starting from the root of a tree.  A tree element can be represented
      * by any {@link Object}.
    - * 
    + *
      * @author Andrew Selkirk
      */
     public class TreePath implements Serializable
    @@ -57,7 +57,7 @@ public class TreePath implements Serializable
        * assumes that the TreePath is immutable, so it is marked final here.
        */
       private final Object[] path;
    -  
    +
       /**
        * The parent path (to be reused).
        */
    @@ -68,9 +68,9 @@ public class TreePath implements Serializable
        * Creates a path from the list of objects representing tree elements.  The
        * incoming array is copied so that subsequent changes do not affect this
        * tree path.
    -   * 
    +   *
        * @param path  the elements in the path (<code>null</code> not permitted).
    -   * 
    +   *
        * @throws IllegalArgumentException if <code>path</code> is <code>null</code>.
        */
       public TreePath(Object[] path)
    @@ -83,10 +83,10 @@ public class TreePath implements Serializable
     
       /**
        * Creates a new path from a single element.
    -   * 
    +   *
        * @param element the element (<code>null</code> not permitted).
    -   * 
    -   * @throws IllegalArgumentException if <code>element</code> is 
    +   *
    +   * @throws IllegalArgumentException if <code>element</code> is
        *         <code>null</code>.
        */
       public TreePath(Object element)
    @@ -98,7 +98,7 @@ public class TreePath implements Serializable
       /**
        * Creates a new tree path by adding the specified <code>element</code> to
        * the <code>path</code>.
    -   * 
    +   *
        * @param path  a tree path.
        * @param element  a path element.
        */
    @@ -117,7 +117,7 @@ public class TreePath implements Serializable
       /**
        * Creates a new tree path using the first <code>length</code> elements
        * from the given array.
    -   * 
    +   *
        * @param path  the path elements.
        * @param length  the path length.
        */
    @@ -139,7 +139,7 @@ public class TreePath implements Serializable
     
       /**
        * Returns a hashcode for the path.
    -   * 
    +   *
        * @return A hashcode.
        */
       public int hashCode()
    @@ -148,7 +148,7 @@ public class TreePath implements Serializable
       }
     
       /**
    -   * Tests this path for equality with an arbitrary object.  An object is 
    +   * Tests this path for equality with an arbitrary object.  An object is
        * considered equal to this path if and only if:
        * <ul>
        * <li>the object is not <code>null</code>;</li>
    @@ -156,9 +156,9 @@ public class TreePath implements Serializable
        * <li>the object contains the same elements in the same order as this
        * {@link TreePath};</li>
        * </ul>
    -   * 
    +   *
        * @param object  the object (<code>null</code> permitted).
    -   * 
    +   *
        * @return <code>true</code> if <code>obj</code> is equal to this tree path,
        *         and <code>false</code> otherwise.
        */
    @@ -188,7 +188,7 @@ public class TreePath implements Serializable
     
       /**
        * Returns a string representation of this path.
    -   * 
    +   *
        * @return A string representation of this path.
        */
       public String toString()
    @@ -201,7 +201,7 @@ public class TreePath implements Serializable
     
       /**
        * Returns an array containing the path elements.
    -   * 
    +   *
        * @return An array containing the path elements.
        */
       public Object[] getPath()
    @@ -211,7 +211,7 @@ public class TreePath implements Serializable
     
       /**
        * Returns the last object in the path.
    -   * 
    +   *
        * @return The last object in the path.
        */
       public Object getLastPathComponent()
    @@ -221,7 +221,7 @@ public class TreePath implements Serializable
     
       /**
        * Returns the number of elements in the path.
    -   * 
    +   *
        * @return The number of elements in the path.
        */
       public int getPathCount()
    @@ -231,29 +231,29 @@ public class TreePath implements Serializable
     
       /**
        * Returns the element at the specified position in the path.
    -   * 
    -   * @param position the element position (<code>0 < N - 1</code>, where 
    +   *
    +   * @param position the element position (<code>0 < N - 1</code>, where
        *                 <code>N</code> is the number of elements in the path).
    -   * 
    +   *
        * @return The element at the specified position.
    -   * 
    +   *
        * @throws IllegalArgumentException if <code>position</code> is outside the
        *         valid range.
        */
       public Object getPathComponent(int position)
       {
    -    if (position < 0 || position >= getPathCount()) 
    +    if (position < 0 || position >= getPathCount())
           throw new IllegalArgumentException("Invalid position: " + position);
         return path[position];
       }
     
       /**
        * Returns <code>true</code> if <code>path</code> is a descendant of this
    -   * path, and <code>false</code> otherwise.  If <code>path</code> is 
    +   * path, and <code>false</code> otherwise.  If <code>path</code> is
        * <code>null</code>, this method returns <code>false</code>.
    -   * 
    +   *
        * @param path  the path to check (<code>null</code> permitted).
    -   * 
    +   *
        * @return <code>true</code> if <code>path</code> is a descendant of this
        *         path, and <code>false</code> otherwise
        */
    @@ -270,16 +270,16 @@ public class TreePath implements Serializable
             otherPathLength--;
             path = path.getParentPath();
           }
    -    
    +
         return equals(path);
       }
     
       /**
        * Creates a new path that is equivalent to this path plus the specified
        * element.
    -   * 
    +   *
        * @param element  the element.
    -   * 
    +   *
        * @return A tree path.
        */
       public TreePath pathByAddingChild(Object element)
    @@ -291,7 +291,7 @@ public class TreePath implements Serializable
        * Returns the parent path, which is a path containing all the same elements
        * as this path, except for the last one.  If this path contains only one
        * element, the method returns <code>null</code>.
    -   * 
    +   *
        * @return The parent path, or <code>null</code> if this path has only one
        *         element.
        */
    @@ -301,12 +301,12 @@ public class TreePath implements Serializable
         // is what the JDK does.
         if (path.length <= 1)
           return null;
    -    
    +
         // Reuse the parent path, if possible. The parent path is requested
         // during the tree repainting, so reusing generates a lot less garbage.
         if (parentPath == null)
           parentPath = new TreePath(this.getPath(), path.length - 1);
    -    
    +
         return parentPath;
       }
     }
    diff --git a/libjava/classpath/javax/swing/tree/TreeSelectionModel.java b/libjava/classpath/javax/swing/tree/TreeSelectionModel.java
    index 9bdc99b..f2ba02a 100644
    --- a/libjava/classpath/javax/swing/tree/TreeSelectionModel.java
    +++ b/libjava/classpath/javax/swing/tree/TreeSelectionModel.java
    @@ -46,7 +46,7 @@ import javax.swing.event.TreeSelectionListener;
      * TreeSelectionModel public interface
      * @author Andrew Selkirk
      */
    -public interface TreeSelectionModel 
    +public interface TreeSelectionModel
     {
     
       int SINGLE_TREE_SELECTION = 1;
    diff --git a/libjava/classpath/javax/swing/tree/VariableHeightLayoutCache.java b/libjava/classpath/javax/swing/tree/VariableHeightLayoutCache.java
    index aac6869..0887061 100644
    --- a/libjava/classpath/javax/swing/tree/VariableHeightLayoutCache.java
    +++ b/libjava/classpath/javax/swing/tree/VariableHeightLayoutCache.java
    @@ -53,11 +53,11 @@ import javax.swing.event.TreeModelEvent;
     /**
      * The fixed height tree layout. This class requires the NodeDimensions to be
      * set and ignores the row height property.
    - * 
    + *
      * @specnote the methods, of this class, returning TreePath, actually returns
      * the derived class GnuPath that provides additional information for optimized
      * painting. See the GnuPath code for details.
    - * 
    + *
      * @author Audrius Meskauskas
      */
     public class VariableHeightLayoutCache
    @@ -80,27 +80,27 @@ public class VariableHeightLayoutCache
           isExpanded = expanded.contains(aNode);
           bounds = new Rectangle(0, -1, 0, 0);
         }
    -    
    +
         /**
          * The row, where the tree node is displayed.
          */
    -    final int row;    
    -    
    +    final int row;
    +
         /**
          * The nesting depth
          */
         final int depth;
    -    
    +
         /**
          * The parent of the given node, null for the root node.
          */
         final Object parent;
    -    
    +
         /**
          * This node.
          */
         final Object node;
    -    
    +
         /**
          * True for the expanded nodes. The value is calculated in constructor.
          * Using this field saves one hashtable access operation.
    @@ -111,13 +111,13 @@ public class VariableHeightLayoutCache
          * The cached bounds of the tree row.
          */
         Rectangle bounds;
    -    
    +
         /**
          * The path from the tree top to the given node (computed under first
          * demand)
          */
         private TreePath path;
    -    
    +
         /**
          * Get the path for this node. The derived class is returned, making check
          * for the last child of some parent easier.
    @@ -158,41 +158,41 @@ public class VariableHeightLayoutCache
             }
           return path;
         }
    -    
    +
         /**
          * Get the rectangle bounds (compute, if required).
          */
         Rectangle getBounds()
         {
    -      return bounds;      
    +      return bounds;
         }
       }
    -  
    +
       /**
        * The set of all expanded tree nodes.
        */
       Set<Object> expanded = new HashSet<Object>();
    -  
    +
       /**
        * Maps nodes to the row numbers.
        */
       Hashtable<Object,NodeRecord> nodes = new Hashtable<Object,NodeRecord>();
    -  
    +
       /**
        * Maps row numbers to nodes.
        */
       ArrayList<Object> row2node = new ArrayList<Object>();
    -  
    +
       /**
        * If true, the row map must be recomputed before using.
        */
       boolean dirty;
    -  
    +
       /**
        * The cumulative height of all rows.
        */
       int totalHeight;
    -  
    +
       /**
        * The maximal width.
        */
    @@ -206,21 +206,21 @@ public class VariableHeightLayoutCache
       public VariableHeightLayoutCache()
       {
         // Nothing to do here.
    -  } 
    +  }
     
       /**
        * Get the total number of rows in the tree. Every displayed node occupies the
        * single row. The root node row is included if the root node is set as
        * visible (false by default).
    -   * 
    +   *
        * @return int the number of the displayed rows.
        */
       public int getRowCount()
       {
         if (dirty) update();
         return row2node.size();
    -  } 
    -  
    +  }
    +
       /**
        * Refresh the row map.
        */
    @@ -228,7 +228,7 @@ public class VariableHeightLayoutCache
       {
         nodes.clear();
         row2node.clear();
    -    
    +
         totalHeight = maximalWidth = 0;
     
         if (treeModel == null)
    @@ -238,7 +238,7 @@ public class VariableHeightLayoutCache
         countRows(root, null, 0, 0);
         dirty = false;
       }
    -  
    +
       /**
        * Recursively counts all rows in the tree.
        */
    @@ -287,7 +287,7 @@ public class VariableHeightLayoutCache
     
       /**
        * Discard the bound information for the given path.
    -   * 
    +   *
        * @param path the path, for that the bound information must be recomputed.
        */
       public void invalidatePathBounds(TreePath path)
    @@ -295,7 +295,7 @@ public class VariableHeightLayoutCache
         NodeRecord r = nodes.get(path.getLastPathComponent());
         if (r != null)
           r.bounds = null;
    -  } 
    +  }
     
       /**
        * Mark all cached information as invalid.
    @@ -303,11 +303,11 @@ public class VariableHeightLayoutCache
       public void invalidateSizes()
       {
         dirty = true;
    -  } 
    +  }
     
       /**
        * Set the expanded state of the given path. The expansion states must be
    -   * always updated when expanding and colapsing the tree nodes. Otherwise 
    +   * always updated when expanding and colapsing the tree nodes. Otherwise
        * other methods will not work correctly after the nodes are collapsed or
        * expanded.
        *
    @@ -327,20 +327,20 @@ public class VariableHeightLayoutCache
     
         dirty = true;
       }
    -  
    +
       /**
        * Get the expanded state for the given tree path.
    -   * 
    +   *
        * @return true if the given path is expanded, false otherwise.
        */
       public boolean isExpanded(TreePath path)
       {
         return expanded.contains(path.getLastPathComponent());
    -  } 
    +  }
     
       /**
        * Get bounds for the given tree path.
    -   * 
    +   *
        * @param path the tree path
        * @param rect the rectangle that will be reused to return the result.
        * @return Rectangle the bounds of the last line, defined by the given path.
    @@ -366,11 +366,11 @@ public class VariableHeightLayoutCache
               result.setBounds(r.bounds);
           }
         return result;
    -  } 
    +  }
     
       /**
        * Get the path, the last element of that is displayed in the given row.
    -   * 
    +   *
        * @param row the row
        * @return TreePath the path
        */
    @@ -389,11 +389,11 @@ public class VariableHeightLayoutCache
               path = record.getPath();
           }
         return path;
    -  } 
    +  }
     
       /**
        * Get the row, displaying the last node of the given path.
    -   * 
    +   *
        * @param path the path
        * @return int the row number or -1 if the end of the path is not visible.
        */
    @@ -410,11 +410,11 @@ public class VariableHeightLayoutCache
           return - 1;
         else
           return r.row;
    -  } 
    +  }
     
       /**
        * Get the path, closest to the given point.
    -   * 
    +   *
        * @param x the point x coordinate
        * @param y the point y coordinate
        * @return the tree path, closest to the the given point
    @@ -428,7 +428,7 @@ public class VariableHeightLayoutCache
         NodeRecord best = null;
         NodeRecord r;
         Enumeration<NodeRecord> en = nodes.elements();
    -    
    +
         int dist = Integer.MAX_VALUE;
     
         while (en.hasMoreElements() && dist > 0)
    @@ -454,8 +454,8 @@ public class VariableHeightLayoutCache
           return null;
         else
           return best.getPath();
    -  } 
    -  
    +  }
    +
       /**
        * Get the closest distance from this point till the given rectangle. Only
        * vertical distance is taken into consideration.
    @@ -475,22 +475,22 @@ public class VariableHeightLayoutCache
        * is not expanded, 0 is returned. Otherwise, the number of children is
        * obtained from the model as the number of children for the last path
        * component.
    -   * 
    +   *
        * @param path the tree path
        * @return int the number of the visible childs (for row).
        */
    -  public int getVisibleChildCount(TreePath path)  
    +  public int getVisibleChildCount(TreePath path)
       {
         if (! isExpanded(path) || treeModel == null)
    -      return 0; 
    +      return 0;
         else
           return treeModel.getChildCount(path.getLastPathComponent());
    -  } 
    +  }
     
       /**
        * Get the enumeration over all visible paths that start from the given
        * parent path.
    -   * 
    +   *
        * @param parentPath the parent path
        * @return the enumeration over pathes
        */
    @@ -514,9 +514,9 @@ public class VariableHeightLayoutCache
     
       /**
        * Return the expansion state of the given tree path. The expansion state
    -   * must be previously set with the 
    +   * must be previously set with the
        * {@link #setExpandedState(TreePath, boolean)}
    -   * 
    +   *
        * @param path the path being checked
        * @return true if the last node of the path is expanded, false otherwise.
        */
    @@ -527,44 +527,44 @@ public class VariableHeightLayoutCache
     
       /**
        * The listener method, called when the tree nodes are changed.
    -   * 
    +   *
        * @param event the change event
        */
       public void treeNodesChanged(TreeModelEvent event)
       {
         dirty = true;
    -  } 
    +  }
     
       /**
        * The listener method, called when the tree nodes are inserted.
    -   * 
    +   *
        * @param event the change event
        */
       public void treeNodesInserted(TreeModelEvent event)
       {
         dirty = true;
    -  } 
    +  }
     
       /**
        * The listener method, called when the tree nodes are removed.
    -   * 
    +   *
        * @param event the change event
        */
       public void treeNodesRemoved(TreeModelEvent event)
       {
         dirty = true;
    -  } 
    +  }
     
       /**
    -   * Called when the tree structure has been changed. 
    -   * 
    +   * Called when the tree structure has been changed.
    +   *
        * @param event the change event
        */
       public void treeStructureChanged(TreeModelEvent event)
       {
         dirty = true;
    -  } 
    -  
    +  }
    +
       /**
        * Set the tree model that will provide the data.
        */
    @@ -578,11 +578,11 @@ public class VariableHeightLayoutCache
             expanded.add(treeModel.getRoot());
           }
       }
    -  
    +
       /**
        * Inform the instance if the tree root node is visible. If this method
        * is not called, it is assumed that the tree root node is not visible.
    -   * 
    +   *
        * @param visible true if the tree root node is visible, false
        * otherwise.
        */
    @@ -616,7 +616,7 @@ public class VariableHeightLayoutCache
       {
         if (dirty)
           update();
    -    
    +
         maximalWidth = 0;
         Enumeration<NodeRecord> en = nodes.elements();
         while (en.hasMoreElements())
    diff --git a/libjava/classpath/javax/swing/undo/AbstractUndoableEdit.java b/libjava/classpath/javax/swing/undo/AbstractUndoableEdit.java
    index 34c41ae..fc58660 100644
    --- a/libjava/classpath/javax/swing/undo/AbstractUndoableEdit.java
    +++ b/libjava/classpath/javax/swing/undo/AbstractUndoableEdit.java
    @@ -130,8 +130,8 @@ public class AbstractUndoableEdit
           throw new CannotUndoException();
         hasBeenDone = false;
       }
    -  
    -  
    +
    +
       /**
        * Determines whether it would be possible to undo this editing
        * action.
    @@ -146,8 +146,8 @@ public class AbstractUndoableEdit
       {
         return alive && hasBeenDone;
       }
    -  
    -  
    +
    +
       /**
        * Redoes this editing action.
        *
    @@ -165,8 +165,8 @@ public class AbstractUndoableEdit
           throw new CannotRedoException();
         hasBeenDone = true;
       }
    -  
    -  
    +
    +
       /**
        * Determines whether it would be possible to redo this editing
        * action.
    @@ -208,8 +208,8 @@ public class AbstractUndoableEdit
       {
         return false;
       }
    -  
    -  
    +
    +
       /**
        * Incorporates another editing action into this one, thus forming a
        * combined action that replaces the argument action.
    @@ -223,8 +223,8 @@ public class AbstractUndoableEdit
       {
         return false;
       }
    -  
    -  
    +
    +
       /**
        * Determines whether this editing action is significant enough for
        * being seperately undoable by the user. A typical significant
    @@ -242,8 +242,8 @@ public class AbstractUndoableEdit
       {
         return true;
       }
    -  
    -  
    +
    +
       /**
        * Returns a human-readable, localized name that describes this
        * editing action and can be displayed to the user.
    diff --git a/libjava/classpath/javax/swing/undo/CompoundEdit.java b/libjava/classpath/javax/swing/undo/CompoundEdit.java
    index fbff2a2..64e5174 100644
    --- a/libjava/classpath/javax/swing/undo/CompoundEdit.java
    +++ b/libjava/classpath/javax/swing/undo/CompoundEdit.java
    @@ -82,7 +82,7 @@ public class CompoundEdit
        * Indicates whether the creation of this CompoundEdit is still in
        * progress. Initially, the value of this flag is
        * <code>true</code>. The {@link #end()} method changes the flag to
    -   * <code>false</code>. 
    +   * <code>false</code>.
        */
       private boolean inProgress;
     
    @@ -95,7 +95,7 @@ public class CompoundEdit
         edits = new Vector<UndoableEdit>();
         inProgress = true;
       }
    -  
    +
     
       /**
        * Undoes all edits that are part of of this
    @@ -146,7 +146,7 @@ public class CompoundEdit
           edits.elementAt(i).redo();
       }
     
    -  
    +
       /**
        * Returns the the <code>UndoableEdit</code> that was last added to
        * this compound.
    @@ -191,7 +191,7 @@ public class CompoundEdit
        * UndoableEdit#replaceEdit(UndoableEdit) replace} the last added
        * edit.  If this fails as well, <code>edit</code> gets added as a
        * new compound to {@link #edits}.
    -   * 
    +   *
        * @param edit the editing action being added.
        *
        * @return <code>true</code> if <code>edit</code> could somehow be
    @@ -321,7 +321,7 @@ public class CompoundEdit
     
         return false;
       }
    -  
    +
     
       /**
        * Returns a human-readable, localized name that describes this
    @@ -386,8 +386,8 @@ public class CompoundEdit
         else
           return last.getRedoPresentationName();
       }
    -  
    -  
    +
    +
       /**
        * Calculates a string that may be useful for debugging.
        */
    diff --git a/libjava/classpath/javax/swing/undo/StateEdit.java b/libjava/classpath/javax/swing/undo/StateEdit.java
    index a032d02..819d052 100644
    --- a/libjava/classpath/javax/swing/undo/StateEdit.java
    +++ b/libjava/classpath/javax/swing/undo/StateEdit.java
    @@ -251,15 +251,15 @@ public class StateEdit
         Iterator<Object> i = preState.keySet().iterator();
         while (i.hasNext())
           {
    -	Object key = i.next();
    -	if (postState.containsKey(key))
    -	  {
    -	    if (preState.get(key).equals(postState.get(key)))
    -	      {
    -		i.remove();
    -		postState.remove(key);
    -	      }
    -	  }
    +        Object key = i.next();
    +        if (postState.containsKey(key))
    +          {
    +            if (preState.get(key).equals(postState.get(key)))
    +              {
    +                i.remove();
    +                postState.remove(key);
    +              }
    +          }
           }
       }
     }
    diff --git a/libjava/classpath/javax/swing/undo/UndoManager.java b/libjava/classpath/javax/swing/undo/UndoManager.java
    index 1f47d51..9b10cc5 100644
    --- a/libjava/classpath/javax/swing/undo/UndoManager.java
    +++ b/libjava/classpath/javax/swing/undo/UndoManager.java
    @@ -356,7 +356,7 @@ public class UndoManager
           }
       }
     
    -  
    +
       /**
        * Undoes or redoes the last action. If the last action has already
        * been undone, it will be re-done, and vice versa.
    @@ -598,8 +598,8 @@ public class UndoManager
         else
           return edit.getRedoPresentationName();
       }
    -  
    -  
    +
    +
       /**
        * Registers the edit action of an {@link UndoableEditEvent}
        * with this UndoManager.
    diff --git a/libjava/classpath/javax/swing/undo/UndoableEdit.java b/libjava/classpath/javax/swing/undo/UndoableEdit.java
    index 9938af7..1a08eca 100644
    --- a/libjava/classpath/javax/swing/undo/UndoableEdit.java
    +++ b/libjava/classpath/javax/swing/undo/UndoableEdit.java
    @@ -39,10 +39,10 @@ package javax.swing.undo;
     
     /**
      * An editing operation that supports undo/redoability.
    - * 
    + *
      * @author Andrew Selkirk
      */
    -public interface UndoableEdit 
    +public interface UndoableEdit
     {
     
       /**
    @@ -50,8 +50,8 @@ public interface UndoableEdit
        * combined action.
        *
        * @param edit the editing action to be incorporated.
    -   * 
    -   * @return <code>true</code> if the edit was combined successfully, and 
    +   *
    +   * @return <code>true</code> if the edit was combined successfully, and
        *         <code>false</code> if it could not be combined.
        */
       boolean addEdit(UndoableEdit edit);
    @@ -98,14 +98,14 @@ public interface UndoableEdit
     
       /**
        * Returns the redo presentation name.
    -   * 
    +   *
        * @return The redo presentation name.
        */
       String getRedoPresentationName();
     
       /**
        * Returns the undo presentation name.
    -   * 
    +   *
        * @return The undo presentation name.
        */
       String getUndoPresentationName();
    @@ -138,8 +138,8 @@ public interface UndoableEdit
        * combined action that replaces the argument action.
        *
        * @param edit the editing action to be replaced.
    -   * 
    -   * @return <code>true</code> if the edit is successfully replaced, and 
    +   *
    +   * @return <code>true</code> if the edit is successfully replaced, and
        *         <code>false</code> otherwise.
        */
       boolean replaceEdit(UndoableEdit edit);
    -- 
    cgit v1.1