Index: trunk/psLib/src/collections/psArray.c
===================================================================
--- trunk/psLib/src/collections/psArray.c	(revision 1404)
+++ trunk/psLib/src/collections/psArray.c	(revision 1406)
@@ -8,6 +8,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-08-04 23:37:39 $
+ *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-08-06 22:34:05 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
Index: trunk/psLib/src/collections/psBitSet.c
===================================================================
--- trunk/psLib/src/collections/psBitSet.c	(revision 1404)
+++ trunk/psLib/src/collections/psBitSet.c	(revision 1406)
@@ -10,6 +10,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-08-04 23:37:39 $
+ *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-08-06 22:34:05 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
Index: trunk/psLib/src/collections/psList.c
===================================================================
--- trunk/psLib/src/collections/psList.c	(revision 1404)
+++ trunk/psLib/src/collections/psList.c	(revision 1406)
@@ -6,6 +6,6 @@
  *  @author Robert Daniel DeSonia, MHPCC
  *
- *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-08-04 23:37:39 $
+ *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-08-06 22:34:05 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
Index: trunk/psLib/src/collections/psMetadata.c
===================================================================
--- trunk/psLib/src/collections/psMetadata.c	(revision 1404)
+++ trunk/psLib/src/collections/psMetadata.c	(revision 1406)
@@ -11,6 +11,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-08-05 23:39:23 $
+*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-08-06 22:34:05 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -280,20 +280,21 @@
             return false;
         }
-    } else if(value != NULL) {
-
-        // The key was found and the new metadata item is a folder node. Don't add new metadata item, since
-        // it will wipe out existing node.
-        psError( __func__, "Metadata already exists in metadata collection. Item not added. Name: %s",
-                 metadataItem->name );
-        return false;
-    } else {
-
-        // Duplicate key not found. Add new metadata item to metadata collection's hash
-        if(!psHashAdd( mdTable, key, metadataItem )) {
-            psError( __func__, "Couldn't add metadata item to metadata collection table. Name: %s",
+    } else
+        if(value != NULL) {
+
+            // The key was found and the new metadata item is a folder node. Don't add new metadata item, since
+            // it will wipe out existing node.
+            psError( __func__, "Metadata already exists in metadata collection. Item not added. Name: %s",
                      metadataItem->name );
             return false;
-        }
-    }
+        } else {
+
+            // Duplicate key not found. Add new metadata item to metadata collection's hash
+            if(!psHashAdd( mdTable, key, metadataItem )) {
+                psError( __func__, "Couldn't add metadata item to metadata collection table. Name: %s",
+                         metadataItem->name );
+                return false;
+            }
+        }
 
     // Add all items to metadata collection's list, even if they have the same metadata item names
@@ -612,8 +613,9 @@
         psError( __func__, "Null extName and extNum = 0 not allowed" );
         return NULL;
-    } else if(extName && extNum) {
-        psError( __func__, "Both extName and extNum arguments should not have non zero values." );
-        return NULL;
-    }
+    } else
+        if(extName && extNum) {
+            psError( __func__, "Both extName and extNum arguments should not have non zero values." );
+            return NULL;
+        }
 
     // Allocate metadata if user didn't
Index: trunk/psLib/src/collections/psScalar.c
===================================================================
--- trunk/psLib/src/collections/psScalar.c	(revision 1404)
+++ trunk/psLib/src/collections/psScalar.c	(revision 1406)
@@ -8,6 +8,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-08-04 23:37:39 $
+ *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-08-06 22:34:05 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
Index: trunk/psLib/src/collections/psScalar.h
===================================================================
--- trunk/psLib/src/collections/psScalar.h	(revision 1404)
+++ trunk/psLib/src/collections/psScalar.h	(revision 1406)
@@ -10,6 +10,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-08-04 23:37:39 $
+ *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-08-06 22:34:05 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
Index: trunk/psLib/src/collections/psVector.c
===================================================================
--- trunk/psLib/src/collections/psVector.c	(revision 1404)
+++ trunk/psLib/src/collections/psVector.c	(revision 1406)
@@ -8,6 +8,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-08-06 21:50:13 $
+*  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-08-06 22:34:05 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
Index: trunk/psLib/src/collections/psVector.h
===================================================================
--- trunk/psLib/src/collections/psVector.h	(revision 1404)
+++ trunk/psLib/src/collections/psVector.h	(revision 1406)
@@ -11,6 +11,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-08-04 23:37:39 $
+ *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-08-06 22:34:05 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
