You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2015/03/31 15:28:13 UTC

stratos git commit: Removing property classes that are not used

Repository: stratos
Updated Branches:
  refs/heads/master 9e94e7bcb -> 442faf445


Removing property classes that are not used


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/442faf44
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/442faf44
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/442faf44

Branch: refs/heads/master
Commit: 442faf445eb8ed060f20d64a0f84c2fed8111392
Parents: 9e94e7b
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Tue Mar 31 18:57:59 2015 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Tue Mar 31 18:57:59 2015 +0530

----------------------------------------------------------------------
 .../stratos/messaging/util/Properties.java      | 42 ---------------
 .../apache/stratos/messaging/util/Property.java | 54 --------------------
 2 files changed, 96 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/442faf44/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Properties.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Properties.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Properties.java
deleted file mode 100644
index fd65430..0000000
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Properties.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.stratos.messaging.util;
-
-import java.util.Arrays;
-
-/**
- * Had to wrap {@link Property} array using a class, since there's a bug in
- * current stub generation.
- */
-public class Properties {
-
-    private Property[] properties;
-
-    public Property[] getProperties() {
-        return properties;
-    }
-
-    public void setProperties(Property[] properties) {
-        if (properties == null) {
-            this.properties = new Property[0];
-        } else {
-            this.properties = Arrays.copyOf(properties, properties.length);
-        }
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/stratos/blob/442faf44/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Property.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Property.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Property.java
deleted file mode 100644
index c771928..0000000
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Property.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one 
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- * 
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 
- * KIND, either express or implied.  See the License for the 
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.stratos.messaging.util;
-
-/**
- * Holds a property
- */
-public class Property {
-
-    private String name;
-    private String value;
-
-    public Property() {
-
-    }
-
-    public Property(String name, String value) {
-        this.setName(name);
-        this.setValue(value);
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public String getValue() {
-        return value;
-    }
-
-    public void setValue(String value) {
-        this.value = value;
-    }
-
-}