aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/data
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2010-07-06 06:14:52 +0000
committerHenri Sara <henri.sara@itmill.com>2010-07-06 06:14:52 +0000
commitf784ca8d3253efc36098fd3de736acc551e73714 (patch)
tree84e62a2eaa8d74991be370567c94ff053e3d7425 /src/com/vaadin/data
parent0a41c6075d6a97b441f15d429aad18d1b705c11c (diff)
downloadvaadin-framework-f784ca8d3253efc36098fd3de736acc551e73714.tar.gz
vaadin-framework-f784ca8d3253efc36098fd3de736acc551e73714.zip
Make private nested class constructor visibility public or package to prevent the generation of non-serializable access constructors by the compiler.
svn changeset:14080/svn branch:6.4
Diffstat (limited to 'src/com/vaadin/data')
-rw-r--r--src/com/vaadin/data/util/ContainerHierarchicalWrapper.java2
-rw-r--r--src/com/vaadin/data/util/FilesystemContainer.java2
-rw-r--r--src/com/vaadin/data/util/IndexedContainer.java8
-rw-r--r--src/com/vaadin/data/util/PropertysetItem.java2
-rw-r--r--src/com/vaadin/data/util/QueryContainer.java2
5 files changed, 8 insertions, 8 deletions
diff --git a/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java b/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java
index 4dca5cf52b..f429cdc256 100644
--- a/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java
+++ b/src/com/vaadin/data/util/ContainerHierarchicalWrapper.java
@@ -67,7 +67,7 @@ public class ContainerHierarchicalWrapper implements Container.Hierarchical,
Comparator<Object>, Serializable {
private final Collection<?> itemIds;
- private ListedItemsFirstComparator(Collection<?> itemIds) {
+ public ListedItemsFirstComparator(Collection<?> itemIds) {
this.itemIds = itemIds;
}
diff --git a/src/com/vaadin/data/util/FilesystemContainer.java b/src/com/vaadin/data/util/FilesystemContainer.java
index 1c9671d52d..7460a84b7f 100644
--- a/src/com/vaadin/data/util/FilesystemContainer.java
+++ b/src/com/vaadin/data/util/FilesystemContainer.java
@@ -596,7 +596,7 @@ public class FilesystemContainer implements Container.Hierarchical {
/**
* Constructs a FileItem from a existing file.
*/
- private FileItem(File file) {
+ FileItem(File file) {
this.file = file;
}
diff --git a/src/com/vaadin/data/util/IndexedContainer.java b/src/com/vaadin/data/util/IndexedContainer.java
index 2f6bae9851..e4dd54e276 100644
--- a/src/com/vaadin/data/util/IndexedContainer.java
+++ b/src/com/vaadin/data/util/IndexedContainer.java
@@ -747,7 +747,7 @@ public class IndexedContainer implements Container.Indexed,
private class PropertySetChangeEvent extends EventObject implements
Container.PropertySetChangeEvent, Serializable {
- private PropertySetChangeEvent(IndexedContainer source) {
+ public PropertySetChangeEvent(IndexedContainer source) {
super(source);
}
@@ -813,7 +813,7 @@ public class IndexedContainer implements Container.Indexed,
private class PropertyValueChangeEvent extends EventObject implements
Property.ValueChangeEvent, Serializable {
- private PropertyValueChangeEvent(Property source) {
+ public PropertyValueChangeEvent(Property source) {
super(source);
}
@@ -1068,7 +1068,7 @@ public class IndexedContainer implements Container.Indexed,
* @param itemId
* the Item ID of the new Item.
*/
- private IndexedContainerItem(Object itemId) {
+ IndexedContainerItem(Object itemId) {
// Gets the item contents from the host
if (itemId == null) {
@@ -1212,7 +1212,7 @@ public class IndexedContainer implements Container.Indexed,
* the list that contains the Item to contain the new
* Property.
*/
- private IndexedContainerProperty(Object itemId, Object propertyId) {
+ public IndexedContainerProperty(Object itemId, Object propertyId) {
if (itemId == null || propertyId == null) {
// Null ids are not accepted
throw new NullPointerException(
diff --git a/src/com/vaadin/data/util/PropertysetItem.java b/src/com/vaadin/data/util/PropertysetItem.java
index 83eb15b6ad..825934c831 100644
--- a/src/com/vaadin/data/util/PropertysetItem.java
+++ b/src/com/vaadin/data/util/PropertysetItem.java
@@ -166,7 +166,7 @@ public class PropertysetItem implements Item, Item.PropertySetChangeNotifier,
private class PropertySetChangeEvent extends EventObject implements
Item.PropertySetChangeEvent {
- private PropertySetChangeEvent(Item source) {
+ public PropertySetChangeEvent(Item source) {
super(source);
}
diff --git a/src/com/vaadin/data/util/QueryContainer.java b/src/com/vaadin/data/util/QueryContainer.java
index 96788947a9..351d4af697 100644
--- a/src/com/vaadin/data/util/QueryContainer.java
+++ b/src/com/vaadin/data/util/QueryContainer.java
@@ -498,7 +498,7 @@ public class QueryContainer implements Container, Container.Ordered,
Object id;
- private Row(Object rowId) {
+ Row(Object rowId) {
id = rowId;
}