package com.graphhopper.reader;

import com.graphhopper.routing.util.TurnCostEncoder;
import com.graphhopper.util.EdgeExplorer;

import java.util.Collection;

public interface TurnRelation {

	long getOsmIdFrom();

	long getOsmIdTo();

	/**
	 * transforms this relation into a collection of node cost entries
	 * <p>
	 * @param edgeOutExplorer an edge filter which only allows outgoing edges
	 * @param edgeInExplorer an edge filter which only allows incoming edges
	 * @return a collection of node cost entries which can be added to the graph later
	 */
	Collection<ITurnCostTableEntry> getRestrictionAsEntries(
			TurnCostEncoder encoder, EdgeExplorer edgeOutExplorer,
			EdgeExplorer edgeInExplorer, DataReader osmReader);

}
package com.graphhopper.reader;

import java.util.Collection;

import com.graphhopper.routing.util.TurnCostEncoder;
import com.graphhopper.util.EdgeExplorer;

public interface TurnRelation {

	public abstract long getOsmIdFrom();

	public abstract long getOsmIdTo();

	/**
	 * transforms this relation into a collection of node cost entries
	 * <p>
	 * @param edgeOutExplorer an edge filter which only allows outgoing edges
	 * @param edgeInExplorer an edge filter which only allows incoming edges
	 * @return a collection of node cost entries which can be added to the graph later
	 */
	public abstract Collection<ITurnCostTableEntry> getRestrictionAsEntries(
			TurnCostEncoder encoder, EdgeExplorer edgeOutExplorer,
			EdgeExplorer edgeInExplorer, DataReader osmReader);

}
--- 
+++ 
@@ -1,15 +1,15 @@
 package com.graphhopper.reader;
-
-import java.util.Collection;
 
 import com.graphhopper.routing.util.TurnCostEncoder;
 import com.graphhopper.util.EdgeExplorer;
 
+import java.util.Collection;
+
 public interface TurnRelation {
 
-	public abstract long getOsmIdFrom();
+	long getOsmIdFrom();
 
-	public abstract long getOsmIdTo();
+	long getOsmIdTo();
 
 	/**
 	 * transforms this relation into a collection of node cost entries
@@ -18,7 +18,7 @@
 	 * @param edgeInExplorer an edge filter which only allows incoming edges
 	 * @return a collection of node cost entries which can be added to the graph later
 	 */
-	public abstract Collection<ITurnCostTableEntry> getRestrictionAsEntries(
+	Collection<ITurnCostTableEntry> getRestrictionAsEntries(
 			TurnCostEncoder encoder, EdgeExplorer edgeOutExplorer,
 			EdgeExplorer edgeInExplorer, DataReader osmReader);
 
Remove unused imports and modifiers implied by context.
