Bug 50936 - Warnung: abstract method in non-abstract class
Warnung: abstract method in non-abstract class
Status: UNCONFIRMED
Product: gcc
Classification: Unclassified
Component: java
4.5.3
: P3 normal
: ---
Assigned To: Not yet assigned to anyone
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-31 16:50 UTC by Bernhard Fastenrath
Modified: 2011-10-31 16:50 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Fastenrath 2011-10-31 16:50:07 UTC
When I compile http://cvs.savannah.gnu.org/viewvc/Free%20Reservation%20System/src/org/nongnu/frs/server/core/database/Database.java?root=frs&view=markup
I get the following warning:

"Warnung: abstract method in non-abstract class"

But the class is an abstract class. It is, maybe, somewhat unusal in needlessly repeating abstract methods already found in the interface.

The full message is:

In file included from org/nongnu/frs/server/core/database/DatabaseObject.java:69:0,
                 from org/nongnu/frs/server/core/database/DatabaseIfc.java:0,
                 from org/nongnu/frs/server/core/database/DatabaseIfc.java:0,
                 from org/nongnu/frs/server/core/database/Database.java:117,
                 from org/nongnu/frs/server/core/database/DB2Database.java:42,
                 from org/nongnu/frs/io/PathUtil.java:189,
                 from org/nongnu/frs/io/IO.java:295,
                 from org/nongnu/frs/io/ByteBufferOutputStream.java:649,
                 from org/nongnu/frs/io/ByteBufferOutputStream.java:285,
                 from org/nongnu/frs/exceptions/UnknownDestinationException.java:62,
                 from org/nongnu/frs/exceptions/TransportException.java:62,
                 from org/nongnu/frs/exceptions/ThisShouldNotBePossible.java:70,
                 from org/nongnu/frs/exceptions/ResourceUnavailableException.java:62,
                 from org/nongnu/frs/exceptions/ResourceNotLockedException.java:62,
                 from org/nongnu/frs/exceptions/ReservationDataException.java:62,
                 from org/nongnu/frs/exceptions/JRMLException.java:62,
                 from org/nongnu/frs/exceptions/JRMLError.java:56,
                 from org/nongnu/frs/exceptions/InvalidEmailAddressFormatException.java:62,
                 from org/nongnu/frs/exceptions/InitializationFailedException.java:62,
                 from org/nongnu/frs/exceptions/GetOptFormatException.java:55,
                 from org/nongnu/frs/exceptions/GetOptException.java:119,
                 from org/nongnu/frs/exceptions/ExceptionListener.java:0,
                 from org/nongnu/frs/exceptions/ExceptionAdapter.java:97,
                 from org/nongnu/frs/exceptions/DatabaseException.java:62,
                 from org/nongnu/frs/exceptions/DataValidationException.java:62,
                 from org/nongnu/frs/data/Stay.java:129,
                 from org/nongnu/frs/data/SimpleLocation.java:41,
                 from org/nongnu/frs/data/RoomType.java:1,
                 from org/nongnu/frs/data/RoomAvailabilityPerMonth.java:244,
                 from org/nongnu/frs/data/Region.java:41,
                 from org/nongnu/frs/data/RateType.java:406,
                 from org/nongnu/frs/data/RateType.java:1,
                 from org/nongnu/frs/data/RatePlanDuration.java:80,
                 from org/nongnu/frs/data/RatePlan.java:279,
                 from org/nongnu/frs/data/RatePlan.java:1,
                 from org/nongnu/frs/data/Price.java:106,
                 from org/nongnu/frs/data/Picture.java:186,
                 from org/nongnu/frs/data/Location.java:0,
                 from org/nongnu/frs/data/Item.java:0,
                 from org/nongnu/frs/data/HotelChain.java:1,
                 from org/nongnu/frs/data/HotelCategory.java:1,
                 from org/nongnu/frs/data/Hotel.java:622,
                 from org/nongnu/frs/data/Guest.java:98,
                 from org/nongnu/frs/data/Distance.java:1,
                 from org/nongnu/frs/data/Destination.java:177,
                 from org/nongnu/frs/data/Day.java:155,
                 from org/nongnu/frs/data/Currency.java:1,
                 from org/nongnu/frs/data/Country.java:1,
                 from org/nongnu/frs/data/CoordinateQuality.java:1,
                 from org/nongnu/frs/data/CancellationConditions.java:1,
                 from org/nongnu/frs/data/CalendarEnum.java:1,
                 from org/nongnu/frs/data/Attribute.java:0,
                 from org/nongnu/frs/data/Amenity.java:6,
                 from org/nongnu/frs/build/PrintClasspath.java:59,
                 from org/nongnu/frs/build/MakefileGeneratorApplications.java:99,
                 from org/nongnu/frs/build/MakefileGenerator.java:150,
                 from org/nongnu/frs/build/Hashcodes.java:58,
                 from org/nongnu/frs/build/EnumGenerator.java:192,
                 from org/nongnu/frs/build/CopyrightNoticeUtil.java:116,
                 from <built-in>:192:
org/nongnu/frs/server/core/database/Database.java:0:0: Warnung: abstract method in non-abstract class