diff options
author | Tom Tromey <tromey@redhat.com> | 2005-04-26 18:57:40 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2005-04-26 18:57:40 +0000 |
commit | 2705487a7ef408a74cb31e729a962cacce39749d (patch) | |
tree | cdc50879b1d5f698a9814aca6b254df8b707b56c /libjava/gnu/java | |
parent | 2500ada2ff5b66d2dbafc3f357047bb8d8363e37 (diff) | |
download | gcc-2705487a7ef408a74cb31e729a962cacce39749d.zip gcc-2705487a7ef408a74cb31e729a962cacce39749d.tar.gz gcc-2705487a7ef408a74cb31e729a962cacce39749d.tar.bz2 |
ParserDelegator.java (callBack, gnu): Now package-private.
* javax/swing/text/html/parser/ParserDelegator.java (callBack,
gnu): Now package-private.
* javax/swing/text/html/parser/DocumentParser.java (parser,
callBack, gnu): Now package-private.
* javax/swing/text/StringContent.java (content, setOffset,
checkLocation): Now package-private.
* javax/swing/text/JTextComponent.java (doc): Now
package-private.
* javax/swing/plaf/basic/BasicToolBarUI.java (owner,
lastGoodOrientation, origParent, borders, cachedBounds,
cachedOrientation, DragWindow): Now package-private.
* javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
decrButton, viewport, panel, currentScrollLocation, layoutManager,
tabAreaRect, contentRect, createIncreaseButton,
createDecreaseButton, findPointForIndex): Now package-private.
* javax/swing/plaf/basic/BasicSplitPaneDivider.java
(currentDividerLocation, moveDividerTo): Now package-private.
* javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
package-private.
* javax/swing/plaf/basic/BasicScrollBarUI.java
(calculatePreferredSize, valueForYPosition, valueForXPosition):
Now package-private.
* javax/swing/plaf/basic/BasicPopupMenuUI.java
(topWindowListener): Now package-private.
* javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
(messageAreaContainer, buttonContainer, resetSelectedValue): Now
package-private.
* javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
package-private.
* javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
Now package-private.
* javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
package-private.
* javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
borderInsets): Now package-private.
(arrowButtonWidth): Likewise. Now a constant.
* javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
makeTabs, updatePreviewPanel): Now package-private.
* javax/swing/plaf/basic/BasicArrowButton.java (shadow,
darkShadow, highlight): Now package-private.
* javax/swing/colorchooser/DefaultSwatchChooserPanel.java
(addColorToQueue): Now package-private.
* javax/swing/colorchooser/DefaultRGBChooserPanel.java
(spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
GSpinner, BSpinner): Now package-private.
* javax/swing/colorchooser/DefaultHSBChooserPanel.java
(gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
updateTrack): Now package-private.
* javax/swing/TransferHandler.java (clipboard): Now
package-private.
* javax/swing/ToolTipManager.java (showTip, hideTip): Now
package-private.
* javax/swing/Timer.java (drainEvents, queueEvent): Now
package-private.
* javax/swing/RepaintManager.java (globalManager): Now
package-private.
* javax/swing/JFormattedTextField.java (editValid): Now
package-private.
* javax/swing/JColorChooser.java (makeModal): Now
package-private.
* java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
index, path): Now package-private.
* java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
lineQuadIntersect, lineCubicIntersect, linesIntersect,
pointEquals): Now package-private.
* java/awt/geom/Arc2D.java (type): Now package-private.
* java/awt/Window.java (windowFocusOwner): Now package-private.
* java/awt/TextComponent.java (editable, selectionStart,
selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
package-private.
* java/awt/MenuItem.java (actionCommand, enabled, label): Now
package-private.
* java/awt/MenuComponent.java (focusListener): Now
package-private.
* java/awt/Frame.java (state): Now package-private.
* java/awt/Choice.java (pItems): Now package-private.
* java/awt/Checkbox.java (state): Now package-private.
* java/awt/Button.java (actionCommand, label): Now
package-private.
* gnu/javax/swing/text/html/parser/support/Parser.java
(attributes, _handleEndTag_remaining, _handleStartTag): Now
package-private.
* gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
package-private.
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
clip, transform, font, comp): Now package-private.
From-SVN: r98786
Diffstat (limited to 'libjava/gnu/java')
-rw-r--r-- | libjava/gnu/java/awt/peer/gtk/GdkGraphics2D.java | 19 | ||||
-rw-r--r-- | libjava/gnu/java/beans/decoder/PersistenceParser.java | 5 |
2 files changed, 14 insertions, 10 deletions
diff --git a/libjava/gnu/java/awt/peer/gtk/GdkGraphics2D.java b/libjava/gnu/java/awt/peer/gtk/GdkGraphics2D.java index 513c75c..6515247 100644 --- a/libjava/gnu/java/awt/peer/gtk/GdkGraphics2D.java +++ b/libjava/gnu/java/awt/peer/gtk/GdkGraphics2D.java @@ -110,19 +110,22 @@ public class GdkGraphics2D extends Graphics2D private final int native_state = GtkGenericPeer.getUniqueInteger(); - private Paint paint; - private Stroke stroke; - private Color fg; - private Color bg; - private Shape clip; - private AffineTransform transform; + // These are package-private to avoid accessor methods. + Paint paint; + Stroke stroke; + Color fg; + Color bg; + Shape clip; + AffineTransform transform; private GtkComponentPeer component; - private Font font; + // This is package-private to avoid an accessor method. + Font font; private RenderingHints hints; private BufferedImage bimage; private boolean pixelConversionRequired; private int[] pixelBuffer; - private Composite comp; + // This is package-private to avoid an accessor method. + Composite comp; private Stack stateStack; private native void initState(GtkComponentPeer component); diff --git a/libjava/gnu/java/beans/decoder/PersistenceParser.java b/libjava/gnu/java/beans/decoder/PersistenceParser.java index 3315478..5bb4acf 100644 --- a/libjava/gnu/java/beans/decoder/PersistenceParser.java +++ b/libjava/gnu/java/beans/decoder/PersistenceParser.java @@ -1,5 +1,5 @@ /* gnu.java.beans.PersistenceParser - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -83,8 +83,9 @@ public class PersistenceParser extends DefaultHandler implements Context private ElementHandler currentHandler; /** The real root element that stores all objects created during parsing. + * Package-private to avoid an accessor method. */ - private JavaHandler javaHandler; + JavaHandler javaHandler; /** Stores the decoded objects. */ private List objects = new LinkedList(); |