This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/master by this push:
     new 5f3e044  Tests.
5f3e044 is described below

commit 5f3e0447eb96a72331ac15d0ec5c44fb36c6f726
Author: JamesBognar <jamesbog...@apache.org>
AuthorDate: Mon Aug 6 12:11:22 2018 -0400

    Tests.
---
 .../src/main/java/org/apache/juneau/ObjectMap.java  | 19 -------------------
 .../java/org/apache/juneau/SparseObjectMap.java     | 21 ---------------------
 2 files changed, 40 deletions(-)

diff --git 
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/ObjectMap.java 
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/ObjectMap.java
index f3414b7..01e6336 100644
--- a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/ObjectMap.java
+++ b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/ObjectMap.java
@@ -327,25 +327,6 @@ public class ObjectMap extends 
LinkedHashMap<String,Object> {
                return this;
        }
 
-//     @Override
-//     public Object put(String key, Object value) {
-//             Object oldValue = get(key);
-//             if (shouldSkip(oldValue, value))
-//                     return oldValue;
-//             return super.put(key, value);
-//     }
-//
-       /**
-        * Method that can be overridden to specify that a new value should not 
be added to this map.
-        *
-        * @param oldValue The old value.
-        * @param newValue
-        * @return <jk>true</jk> if this value should not be added to this map.
-        */
-       public boolean shouldSkip(Object oldValue, Object newValue) {
-               return false;
-       }
-
        /**
         * Convenience method for adding an entry to this map.
         *
diff --git 
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/SparseObjectMap.java
 
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/SparseObjectMap.java
deleted file mode 100644
index 8b95a1f..0000000
--- 
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/SparseObjectMap.java
+++ /dev/null
@@ -1,21 +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.juneau;
-
-/**
- * TODO
- *
- */
-public class SparseObjectMap extends ObjectMap {
-
-}

Reply via email to