Revision 8604 branches/v10/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/ui/chooseResource/ChooseResourcePanel.java

View differences:

ChooseResourcePanel.java
117 117
 * @param protocol 
118 118
 */
119 119
    private String getNameButton(String protocol) {        
120
	    if (protocol.toUpperCase().indexOf(Resource.WCS) >= 0)
120
	    if (protocol == null){
121
	    	return Messages.getText("unknown");
122
	    }
123
    	if (protocol.toUpperCase().indexOf(Resource.WCS) >= 0)
121 124
			return  Messages.getText("wcsColumn");
122 125
		
123 126
		if (protocol.toUpperCase().indexOf(Resource.WMS) >= 0)

Also available in: Unified diff