public void init(FilterConfig filterConfig) throws ServletException { if (LOGGER.isLoggable(Level.FINEST)) for (Filter f : filters) LOGGER.finest("ChainedServletFilter contains: " + f); for (Filter f : filters) f.init(filterConfig); }
boolean stop(final BTraceTask task) { LOGGER.finest("Attempting to stop BTrace task"); try { if (stopping.compareAndSet(false, true)) { LOGGER.finest("Stopping BTrace task"); boolean result = doStop(task); LOGGER.log(Level.FINEST, "BTrace task {0}", result ? "stopped successfuly" : "not stopped"); if (result) { listeners.fireOnTaskStop(task); } return result; } return true; } finally { stopping.set(false); } }
if( log.isLoggable(Level.FINEST) ) { log.log(Level.FINEST, "isValidMethod({0}, {1})", new Object[]{m, messageType}); log.finest("Parameter count is not 1 or 2"); return false; messageIndex++; } else { log.finest("First paramter is not a MessageConnection or subclass."); return false; log.finest("Second paramter is not a Message or subclass."); return false; log.log(Level.FINEST, "Second paramter is not a {0}", messageType); return false;
@SuppressWarnings("unchecked") private <T> void addConverter(Converter<T> converter) { Class<T> type = (Class<T>) getTypeOfConverter(converter.getClass()); if (type == null) { throw new IllegalStateException("Converter " + converter.getClass() + " must be a ParameterizedType"); } LOGGER.finest(() -> "Adding converter for type: " + type.getName() + " (" + converter.getClass().getName() + ")"); converters.add(new OrdinalConverter<>(type, converter, findPriority(converter.getClass()))); }
if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("reading nested: " + rawList); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("found implicit all requested"); kvpList.add(Collections.EMPTY_LIST); return kvpList; if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("found explicit all requested"); kvpList.add(Collections.EMPTY_LIST); return kvpList; if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("found explicit requested"); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("reading complex list"); kvpList.add(readFlat((String) i.next(), INNER_DELIMETER)); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("reading simple list");
LOGGER.fine("Triangulating face."); assert indexes.size() >= 3 : "Invalid indexes amount for face. 3 is the required minimum!"; triangulatedFaces = new ArrayList<IndexesLoop>(indexes.size() - 2); triangulatedFaces.add(face.getIndexes().clone()); } else { int previousIndex1 = -1, previousIndex2 = -1, previousIndex3 = -1; triangulatedFaces.add(new IndexesLoop(indexes)); LOGGER.log(Level.WARNING, "Errors occured during face triangulation: {0}. The face will be triangulated with the most direct algorithm, but the results might not be identical to blender.", e.getLocalizedMessage()); warning = TriangulationWarning.UNKNOWN; LOGGER.finest("Triangulation the face using the most direct algorithm."); indexes[0] = this.getIndex(0); for (int i = 1; i < this.vertexCount() - 1; ++i) { indexes[1] = this.getIndex(i); indexes[2] = this.getIndex(i + 1); triangulatedFaces.add(new IndexesLoop(indexes));
List<ValidationError> iconErrors = icon.validate(); if(iconErrors.isEmpty()) { validIcons.add(icon); } else { log.warning("Discarding invalid '" + icon + "': " + iconErrors); if (log.isLoggable(Level.FINEST)) { for (ValidationError error : errors) { log.finest(error.toString());
LOGGER.finest(String.format("Found schema=%s,object_type=%s,object_name=%s", sourceCodeObjects.getString("PROCEDURE_SCHEM"), sourceCodeObjects.getString("PROCEDURE_TYPE"), .add(new SourceObject(sourceCodeObjects.getString("PROCEDURE_SCHEM"), sourceCodeObjects.getString("PROCEDURE_TYPE"), sourceCodeObjects.getString("PROCEDURE_NAME"), null));
Set<Mention> roleSet = document.roleSet; logger.finest("ROLE SET (Skip exact string match): ------------------"); for(Mention m : roleSet){ logger.finest("\t"+m.spanToString()); logger.finest("-------------------------------------------------------"); l.get(i).sameSentence(l.get(j)) && j > i && l.get(i).spanToString().length() > l.get(j).spanToString().length()) { logger.finest("FLIPPED: "+l.get(i).spanToString()+"("+i+"), "+l.get(j).spanToString()+"("+j+")"); l.set(j, l.set(i, l.get(j))); CorefCluster c2 = corefClusters.get(m2.corefClusterID); if (c2 == null) { logger.warning("NO corefcluster id " + m2.corefClusterID); if(currentSieve==0) { scoreSingleDoc = new ArrayList<>(); scoreSingleDoc.add(new ScorerPairwise()); scoreSingleDoc.get(currentSieve).calculateScore(document); additionalCorrectLinksCount = (int) scoreSingleDoc.get(currentSieve).precisionNumSum; additionalLinksCount = (int) scoreSingleDoc.get(currentSieve).precisionDenSum; } else { scoreSingleDoc.add(new ScorerPairwise()); scoreSingleDoc.get(currentSieve).calculateScore(document); additionalCorrectLinksCount = (int) (scoreSingleDoc.get(currentSieve).precisionNumSum - scoreSingleDoc.get(currentSieve-1).precisionNumSum);
protected void processEmbed(CrawlURI curi, final CharSequence value, CharSequence context, Hop hop) { if (logger.isLoggable(Level.FINEST)) { logger.finest("embed (" + hop.getHopChar() + "): " + value.toString() + " from " + curi); } if (context.equals(HTMLLinkContext.IMG_SRCSET.toString()) || context.equals(HTMLLinkContext.SOURCE_SRCSET.toString())) { logger.fine("Found srcset listing: " + value.toString()); String[] links = value.toString().split(","); for (int i=0; i < links.length; i++){ String link = links[i].trim().split(" +")[0]; logger.finer("Found " + link + " adding to outlinks."); addLinkFromString(curi, link, context, hop); numberOfLinksExtracted.incrementAndGet(); } } else { addLinkFromString(curi, (value instanceof String)? (String)value: value.toString(), context, hop); numberOfLinksExtracted.incrementAndGet(); } }
if (LOGGER.isLoggable(Level.FINE)) { LOGGER.fine("clean request is " + cleanRequest); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.finest("putting filter value " + filterVal); LOGGER.finest("putting kvp pair: " + key + ": " + value); kvps.put(key, value); } else { if (LOGGER.isLoggable(Level.FINE)) { LOGGER.fine("returning parsed " + kvps);
logger.log(java.util.logging.Level.CONFIG, String.format("Using plugin root dir: '%s'", pluginManager.rootDir)); boolean requireRestart = false; Set<String> installed = new HashSet<>(); while (!plugins.isEmpty()) { PluginToInstall p = plugins.remove(); logger.fine("Preparing to install " + p.shortname); if (installed.contains(p.shortname)) { logger.fine("Plugin " + p.shortname + " is already installed. Skipping"); continue; logger.fine("Installing plugin: " + p.shortname); final UpdateCenter.UpdateCenterJob job = installable.deploy(false).get(); if (job.getError() != null) { .map(a -> new PluginToInstall(a, "latest")) .collect(Collectors.toList()); pti.forEach(s -> logger.finest("Installing dependant plugin: " + s)); logger.finest("Adding " + pti.size() + " plugin(s) to install queue."); plugins.addAll(pti);
/** * Test to see if this datastore is available, if it has all the appropriate libraries to * construct a datastore. * * @return <tt>true</tt> if and only if this factory is available to create DataStores. */ public boolean isAvailable() { if (JSDE_CLIENT_VERSION == JSDE_VERSION_DUMMY) { LOGGER.warning( "You must download and install the *real* ArcSDE JSDE jar files. " + "Currently the GeoTools ArcSDE 'dummy jar' is on your classpath. " + "ArcSDE connectivity is DISABLED. " + "See http://docs.codehaus.org/display/GEOTOOLS/ArcSDE+Plugin"); return false; } try { LOGGER.finest(SeConnection.class.getName() + " is in place."); LOGGER.finest(PeCoordinateSystem.class.getName() + " is in place."); } catch (Throwable t) { return false; } return true; }
@Override public void filterResponse(HttpResponse response, HttpMessageContents contents, HttpMessageInfo messageInfo) { if (contents.getBinaryContents().length > threshold) { log.warning("Too large response " + messageInfo.getUrl() + ": " + contents.getBinaryContents().length + " bytes"); if (log.isLoggable(Level.FINEST)) { log.finest("Response content: " + contents.getTextContents()); } } } }
logger.finest("Finding syntactic head for entity: " + ent + " in tree: " + tree.toString()); logger.finest("Flat sentence is: " + tokens); Tree sh = null; try { headPos = label.get(CoreAnnotations.BeginIndexAnnotation.class); } else { logger.fine("WARNING: failed to find syntactic head for entity: " + ent + " in tree: " + tree); logger.fine("Fallback strategy: will set head to last token in mention: " + tokens.get(headPos));
throws SAXException { characters.setLength(0); logger.fine("START: " + qName); logger.finest( "Parent Node = " + ((XSIElementHandler) handlers.peek()).getClass().getName()); logger.finest("This Node = " + eh.getClass().getName()); logger.finest("This Node = " + localName + " :: " + namespaceURI); logger.warning(e.toString()); throw e;
Map<Integer, Mention> golds = document.allGoldMentions; logger.fine("=======ERROR ANALYSIS========================================================="); for (int j = 0 ; j < orderedMentions.size(); j++) { Mention m = orderedMentions.get(j); logger.fine("=========Line: "+i+"\tmention: "+j+"======================================================="); logger.fine(m.spanToString()+"\tmentionID: "+m.mentionID+"\tcorefClusterID: "+m.corefClusterID+"\tgoldCorefClusterID: "+m.goldCorefClusterID); CorefCluster corefCluster = corefClusters.get(m.corefClusterID); if (corefCluster != null) { l.get(ii).sameSentence(l.get(jj)) && jj > ii && l.get(ii).spanToString().length() > l.get(jj).spanToString().length()) { logger.finest("FLIPPED: "+l.get(ii).spanToString()+"("+ii+"), "+l.get(jj).spanToString()+"("+jj+")"); l.set(jj, l.set(ii, l.get(jj))); logger.finest("Candidates in sentence #"+sentJ+" for mention: "+m.spanToString()); for(int ii = 0; ii < l.size(); ii ++){ logger.finest("\tCandidate #"+ii+": "+l.get(ii).spanToString());
for (Mention m : l) { if (!sorted.contains(m) && current.dominates(m.mentionSubTree)) { sorted.add(m); if (SieveCoreferenceSystem.logger.isLoggable(Level.FINEST)) { if (l.size()!=sorted.size()) { SieveCoreferenceSystem.logger.finest("sorting failed!!! -> parser error?? \tmentionID: "+m1.mentionID+" " + m1.spanToString()); sorted = l; } else if ( ! l.equals(sorted)) { SieveCoreferenceSystem.logger.finest("sorting succeeded & changed !! \tmentionID: "+m1.mentionID+" " + m1.spanToString()); for (int i=0; i<l.size(); i++) { Mention ml = l.get(i); Mention msorted = sorted.get(i); SieveCoreferenceSystem.logger.finest("\t["+ml.spanToString()+"]\t["+msorted.spanToString()+"]"); SieveCoreferenceSystem.logger.finest("no changed !! \tmentionID: "+m1.mentionID+" " + m1.spanToString());