removed unused throws declaration, Exception is never thrown inside method body

This commit is contained in:
Lars Kühne 2002-11-07 19:03:28 +00:00
parent 3db24e2377
commit 0eded9de9c
1 changed files with 2 additions and 4 deletions

View File

@ -19,9 +19,8 @@
package com.puppycrawl.tools.checkstyle.api;
import java.io.Serializable;
import java.io.ObjectStreamException;
import java.util.Map;
import java.util.HashMap;
import java.util.Map;
/**
* Represents a Java visibility scope.
@ -175,9 +174,8 @@ public final class Scope implements Comparable, Serializable
* Serialization Specification for details.
*
* @return the serialization replacement object
* @throws ObjectStreamException if a deserialization error occurs
*/
private Object readResolve() throws ObjectStreamException
private Object readResolve()
{
return getInstance(mName);
}