Index: /branches/ms-style/zoo-project/zoo-kernel/service_internal_ms.c
===================================================================
--- /branches/ms-style/zoo-project/zoo-kernel/service_internal_ms.c	(revision 832)
+++ /branches/ms-style/zoo-project/zoo-kernel/service_internal_ms.c	(revision 833)
@@ -136,5 +136,4 @@
     return (val-x0)*(y1-y0)/(x1-x0) + y0;
 }
-
 double base( double val ) {
     if ( val <= 0.25 ) return 0;
@@ -843,15 +842,16 @@
    */
 
-  /* msRasterResample (NEAREST/AVERAGE/BILINEAR) */
-  const char * msRasterResamplingPropertyName       = "msRasterResample";
-  /* msRasterStyle (linearStretching/classify) */
-  const char * msRasterStylePropertyName            = "msRasterStyle";
-  const char * msRasterStyleLinearStretchingPropertyValue       = "linearStretching";
+  // Properties names
+  const char * msRasterResamplingPropertyName       = "msRasterResample";       /* can be NEAREST/AVERAGE/BILINEAR */
+  const char * msRasterStylePropertyName            = "msRasterStyle";          /* can be linearStretching/classify */
+  const char * msRasterStyleOptionsPropertyName     = "msRasterStyleOptions";   /* can be the path to a mapfile */
+
+  // Allowed properties values
+  const char * msRasterStyleLinearStretchingPropertyValue       = "linearStretching";   /* RasterStyle */
   const char * msRasterStyleColorPalettePropertyValue           = "classify";
-  const char * msRasterStyleOptionsPropertyName     = "msRasterStyleOptions";
-  /* options for linear stretching */
-  const char * msRasterStyleLinearStretchingMinMaxPropertyName  = "minMax";
+  const char * msRasterStyleLinearStretchingMinMaxPropertyName  = "minMax";             /* Linear stretching */
   const char * msRasterStyleLinearStretchingMeanStdPropertyName = "meanStd";
 
+  // Maximum number of classes (classify mode)
   const unsigned int msRasterStyleClassifyAutoMaximumNumberOfClasses = 256;
 
@@ -953,4 +953,5 @@
   /*
    * This is just for the backward compatibility and will be deprecated
+   * TODO: mark this as deprecated
    */
   {
@@ -1166,7 +1167,8 @@
 
         } // styleType is LINEAR_STRETCHING
+
       else if( styleType == CLASSIFY )
         {
-        if(iBand==0)
+        if(iBand==0) // classify only the first band
           {
           if (classifyType == USER)
@@ -1291,4 +1293,5 @@
 
           } // styleType is CLASSIFY
+
         } //iBand is 0
 
