All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.adoptopenjdk.jitwatch.journal.AbstractJournalVisitable Maven / Gradle / Ivy

/*
 * Copyright (c) 2013-2015 Chris Newland.
 * Licensed under https://github.com/AdoptOpenJDK/jitwatch/blob/master/LICENSE-BSD
 * Instructions: https://github.com/AdoptOpenJDK/jitwatch/wiki
 */
package org.adoptopenjdk.jitwatch.journal;

import java.util.HashSet;
import java.util.Set;

import org.adoptopenjdk.jitwatch.model.Tag;

public abstract class AbstractJournalVisitable implements IJournalVisitable
{	
	protected Set ignoreTags = new HashSet<>();

	protected void handleOther(Tag tag)
	{		
		if (!ignoreTags.contains(tag.getName()))
		{
			JournalUtil.unhandledTag(this, tag);
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy