jdk/src/java.logging/share/classes/java/util/logging/Logger.java
changeset 26961 8203ecb092af
parent 25859 3317bb8137f4
child 27074 4abca40e7d0c
equal deleted inserted replaced
26960:d280345c2cfb 26961:8203ecb092af
  1374         if (params == null ) {
  1374         if (params == null ) {
  1375            logp(Level.FINER, sourceClass, sourceMethod, msg);
  1375            logp(Level.FINER, sourceClass, sourceMethod, msg);
  1376            return;
  1376            return;
  1377         }
  1377         }
  1378         if (!isLoggable(Level.FINER)) return;
  1378         if (!isLoggable(Level.FINER)) return;
  1379         for (int i = 0; i < params.length; i++) {
  1379         if (params.length > 0) {
  1380             msg = msg + " {" + i + "}";
  1380             final StringBuilder b = new StringBuilder(msg);
       
  1381             for (int i = 0; i < params.length; i++) {
       
  1382                 b.append(' ').append('{').append(i).append('}');
       
  1383             }
       
  1384             msg = b.toString();
  1381         }
  1385         }
  1382         logp(Level.FINER, sourceClass, sourceMethod, msg, params);
  1386         logp(Level.FINER, sourceClass, sourceMethod, msg, params);
  1383     }
  1387     }
  1384 
  1388 
  1385     /**
  1389     /**