Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sualeh committed Feb 8, 2018
1 parent 1532675 commit d2ff1dd
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 25 deletions.
Expand Up @@ -57,7 +57,7 @@ abstract class AbstractColumn<P extends DatabaseObject>
/**
* Effective Java - Item 17 - Minimize Mutability - Package-private
* constructors make a class effectively final
*
*
* @param parent
* Parent of this object
* @param name
Expand Down
Expand Up @@ -57,7 +57,7 @@ abstract class AbstractDatabaseObject
/**
* Effective Java - Item 17 - Minimize Mutability - Package-private
* constructors make a class effectively final
*
*
* @param schema
* Schema of this object
* @param name
Expand Down
Expand Up @@ -56,7 +56,7 @@ abstract class AbstractDependantObject<D extends DatabaseObject>
/**
* Effective Java - Item 17 - Minimize Mutability - Package-private
* constructors make a class effectively final
*
*
* @param parent
* Parent of this object
* @param name
Expand Down
Expand Up @@ -52,7 +52,7 @@ abstract class AbstractNamedObject
/**
* Effective Java - Item 17 - Minimize Mutability - Package-private
* constructors make a class effectively final
*
*
* @param name
* Name of the named object
*/
Expand Down
Expand Up @@ -57,7 +57,7 @@ abstract class AbstractNamedObjectWithAttributes
/**
* Effective Java - Item 17 - Minimize Mutability - Package-private
* constructors make a class effectively final
*
*
* @param name
* Name of the named object
*/
Expand Down
Expand Up @@ -181,7 +181,7 @@ private void createForeignKeys(final MetadataResultSet results,
{
while (results.next())
{
String foreignKeyName = results.getString("FK_NAME");
final String foreignKeyName = results.getString("FK_NAME");
LOGGER
.log(Level.FINE,
new StringFormat("Retrieving foreign key: %s", foreignKeyName));
Expand Down
Expand Up @@ -59,15 +59,15 @@ public List<FunctionColumn> getColumns()
}

@Override
public RoutineType getRoutineType()
public FunctionReturnType getReturnType()
{
return RoutineType.function;
throw new NotLoadedException(this);
}

@Override
public FunctionReturnType getReturnType()
public RoutineType getRoutineType()
{
throw new NotLoadedException(this);
return RoutineType.function;
}

@Override
Expand Down
Expand Up @@ -57,7 +57,7 @@ abstract class MutableRoutine
/**
* Effective Java - Item 17 - Minimize Mutability - Package-private
* constructors make a class effectively final
*
*
* @param schema
* Schema of this object
* @param name
Expand Down
Expand Up @@ -48,7 +48,7 @@ abstract class MutableRoutineColumn<R extends Routine>
/**
* Effective Java - Item 17 - Minimize Mutability - Package-private
* constructors make a class effectively final
*
*
* @param parent
* Parent of this object
* @param name
Expand Down
Expand Up @@ -59,15 +59,15 @@ public List<ProcedureColumn> getColumns()
}

@Override
public RoutineType getRoutineType()
public ProcedureReturnType getReturnType()
{
return RoutineType.procedure;
throw new NotLoadedException(this);
}

@Override
public ProcedureReturnType getReturnType()
public RoutineType getRoutineType()
{
throw new NotLoadedException(this);
return RoutineType.procedure;
}

@Override
Expand Down
Expand Up @@ -45,7 +45,7 @@ abstract class RoutinePartial
/**
* Effective Java - Item 17 - Minimize Mutability - Package-private
* constructors make a class effectively final
*
*
* @param schema
* Schema of this object
* @param name
Expand Down
Expand Up @@ -53,19 +53,19 @@ public interface ForeignKey
*/
ForeignKeyUpdateRule getDeleteRule();

/**
* Gets the update rule.
*
* @return Update rule
*/
ForeignKeyUpdateRule getUpdateRule();

/**
* Gets a generated specific name for databases that support
* non-unique foreign key names.
*
*
* @return Specific name of a foreign key
*/
String getSpecificName();

/**
* Gets the update rule.
*
* @return Update rule
*/
ForeignKeyUpdateRule getUpdateRule();

}
Expand Up @@ -27,6 +27,7 @@
*/
package schemacrawler.schema;


@FunctionalInterface
public interface Reducer<N extends NamedObject>
{
Expand Down

0 comments on commit d2ff1dd

Please sign in to comment.