From d90b04486c52833e085a1dd728cfc2210fd1b03f Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 1 Apr 2014 15:28:16 -0400 Subject: Added profile mapping page. A new profile mapping page has been added to TPS UI. The page is fully functional like other existing pages. The REST service for profile mappings has been updated to be more consistent with other resources. Ticket #654 --- .../src/com/netscape/cmstools/tps/profile/ProfileMappingCLI.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'base/java-tools/src') diff --git a/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingCLI.java b/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingCLI.java index 6f7e6c5d9..9c2f7183c 100644 --- a/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingCLI.java +++ b/base/java-tools/src/com/netscape/cmstools/tps/profile/ProfileMappingCLI.java @@ -59,9 +59,11 @@ public class ProfileMappingCLI extends CLI { if (showProperties) { System.out.println(" Properties:"); Map properties = profileMappingData.getProperties(); - for (String name : properties.keySet()) { - String value = properties.get(name); - System.out.println(" " + name + ": " + value); + if (properties != null) { + for (String name : properties.keySet()) { + String value = properties.get(name); + System.out.println(" " + name + ": " + value); + } } } -- cgit