fix #1606: minor
authorKatja Luther <k.luther@bgbm.org>
Wed, 1 Feb 2017 10:43:19 +0000 (11:43 +0100)
committerKatja Luther <k.luther@bgbm.org>
Wed, 1 Feb 2017 10:43:19 +0000 (11:43 +0100)
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ReferenceServiceImpl.java

index 6698c0d0fbabc19901c7303e74b3628b71ade12c..cf8b04ef31001d7d291cd03ef29f4cbd1e25e3d4 100644 (file)
@@ -140,11 +140,9 @@ public class ReferenceServiceImpl extends IdentifiableServiceBase<Reference,IRef
             inReferenceType = ReferenceType.Journal;\r
         } else if (type.equals(ReferenceType.BookSection)){\r
             inReferenceType = ReferenceType.Book;\r
-        } else if (type.equals(ReferenceType.InProceedings)){\r
+        } else if (type.equals(ReferenceType.InProceedings) ){\r
             inReferenceType = ReferenceType.Proceedings;\r
-        } else if (type.equals(ReferenceType.Book)){\r
-            inReferenceType = ReferenceType.PrintSeries;\r
-        } else if (type.equals(ReferenceType.Proceedings)){\r
+        } else if (type.equals(ReferenceType.Book) || type.equals(ReferenceType.Proceedings)){\r
             inReferenceType = ReferenceType.PrintSeries;\r
         } else if (type.equals(ReferenceType.Generic)){\r
             inReferenceType = ReferenceType.Generic;\r