/[schmitzm]/trunk/src/skrueger/geotools/StyledLayerUtil.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/StyledLayerUtil.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 517 by alfonx, Thu Nov 12 10:12:39 2009 UTC revision 526 by alfonx, Wed Nov 18 15:45:01 2009 UTC
# Line 1145  public class StyledLayerUtil { Line 1145  public class StyledLayerUtil {
1145          public static boolean isStyleable(          public static boolean isStyleable(
1146                          final StyledRasterInterface<?> styledRaster) {                          final StyledRasterInterface<?> styledRaster) {
1147                  final ColorModel colorModel = getColorModel(styledRaster);                  final ColorModel colorModel = getColorModel(styledRaster);
1148                    
1149                  LOGGER.info("The colormodel of " + styledRaster.getTitle() + " is "  //              LOGGER.info("The colormodel of " + styledRaster.getTitle() + " is "
1150                                  + colorModel.getClass().getSimpleName());  //                              + colorModel != null ? colorModel.getClass().getSimpleName() : "NULL");
1151    
1152                  if (colorModel == null)                  if (colorModel == null)
1153                          return true;                          return true;
# Line 1189  public class StyledLayerUtil { Line 1189  public class StyledLayerUtil {
1189                                                    
1190                          return true;                          return true;
1191                                                    
1192                  } else return false;                  } else {
1193                            return false;
1194                    }
1195          }          }
1196    
1197  }  }

Legend:
Removed from v.517  
changed lines
  Added in v.526

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26