Made Operation public because otherwise I can't do something like this:
public FooRepository
extends SimpleRepository implements SimpleRepository.Operation
{
}
which seems wacky to me but I can see how we may not have entered the
protected namespace of the extended class while we're processing our
interface implementation declarations. Seems a bit like a bug though.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@408 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: Repository.java,v 1.11 2001/09/21 03:01:46 mdb Exp $
|
||||
// $Id: Repository.java,v 1.12 2001/11/01 02:08:17 mdb Exp $
|
||||
//
|
||||
// samskivert library - useful routines for java programs
|
||||
// Copyright (C) 2001 Michael Bayne
|
||||
@@ -87,7 +87,7 @@ public class Repository
|
||||
* as for it to automatically retry an operation if the connection
|
||||
* failed for some transient reason.
|
||||
*/
|
||||
protected interface Operation
|
||||
public interface Operation
|
||||
{
|
||||
/**
|
||||
* Invokes code that performs one or more database operations, all
|
||||
|
||||
Reference in New Issue
Block a user