Author: struberg
Date: Wed Feb 23 12:21:08 2011
New Revision: 1073719
URL: http://svn.apache.org/viewvc?rev=1073719&view=rev
Log:
OWB-461 make variables private instead of public
Modified:
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/ErrorStack.java
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/SecurityUtil.java
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/SortedListHelper.java
Modified:
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/ErrorStack.java
URL:
http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/ErrorStack.java?rev=1073719&r1=1073718&r2=1073719&view=diff
==============================================================================
---
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/ErrorStack.java
(original)
+++
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/ErrorStack.java
Wed Feb 23 12:21:08 2011
@@ -32,7 +32,7 @@ public class ErrorStack
{
private static final WebBeansLogger logger =
WebBeansLogger.getLogger(ErrorStack.class);
- public Stack<Throwable> errorStack = new Stack<Throwable>();
+ private Stack<Throwable> errorStack = new Stack<Throwable>();
public ErrorStack()
{
Modified:
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/SecurityUtil.java
URL:
http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/SecurityUtil.java?rev=1073719&r1=1073718&r2=1073719&view=diff
==============================================================================
---
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/SecurityUtil.java
(original)
+++
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/SecurityUtil.java
Wed Feb 23 12:21:08 2011
@@ -106,11 +106,11 @@ public class SecurityUtil
protected static class PrivilegedActionForClass implements
PrivilegedAction<Object>
{
- Class<?> clazz;
+ private Class<?> clazz;
- Object parameters;
+ private Object parameters;
- int method;
+ private int method;
protected PrivilegedActionForClass(Class<?> clazz, Object parameters,
int method)
{
@@ -161,9 +161,9 @@ public class SecurityUtil
protected static class PrivilegedActionForAccessibleObject implements
PrivilegedAction<Object>
{
- AccessibleObject object;
+ private AccessibleObject object;
- boolean flag;
+ private boolean flag;
protected PrivilegedActionForAccessibleObject(AccessibleObject object,
boolean flag)
{
@@ -261,7 +261,7 @@ public class SecurityUtil
protected static class PrivilegedActionForObjectCreation implements
PrivilegedExceptionAction<Object>
{
- Class<?> clazz;
+ private Class<?> clazz;
protected PrivilegedActionForObjectCreation(Class<?> clazz)
{
@@ -289,7 +289,7 @@ public class SecurityUtil
protected static class PrivilegedActionForProxyFactory implements
PrivilegedAction<Object>
{
- ProxyFactory factory;
+ private ProxyFactory factory;
protected PrivilegedActionForProxyFactory(ProxyFactory factory)
{
Modified:
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/SortedListHelper.java
URL:
http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/SortedListHelper.java?rev=1073719&r1=1073718&r2=1073719&view=diff
==============================================================================
---
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/SortedListHelper.java
(original)
+++
openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/SortedListHelper.java
Wed Feb 23 12:21:08 2011
@@ -24,8 +24,8 @@ import java.util.Comparator;
public class SortedListHelper<E>
{
- List<E> list;
- Comparator<E> comparator;
+ private List<E> list;
+ private Comparator<E> comparator;
public SortedListHelper(List<E>list, Comparator<E> comparator)
{