Skip to content

Commit

Permalink
Backport 0678253bffca91775d29d2942f48c806ab4d2cab
Browse files Browse the repository at this point in the history
  • Loading branch information
duke committed Jul 11, 2024
1 parent cfe714b commit 5d8053b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public abstract class SchemaDVFactory {
* @exception DVFactoryException cannot create an instance of the specified
* class name or the default class name
*/
public static synchronized final SchemaDVFactory getInstance() throws DVFactoryException {
public static final SchemaDVFactory getInstance() throws DVFactoryException {
return getInstance(DEFAULT_FACTORY_CLASS);
} //getInstance(): SchemaDVFactory

Expand All @@ -66,7 +66,7 @@ public static synchronized final SchemaDVFactory getInstance() throws DVFactoryE
* @exception DVFactoryException cannot create an instance of the specified
* class name or the default class name
*/
public static synchronized final SchemaDVFactory getInstance(String factoryClass) throws DVFactoryException {
public static final SchemaDVFactory getInstance(String factoryClass) throws DVFactoryException {

try {
// if the class name is not specified, use the default one
Expand All @@ -78,7 +78,7 @@ public static synchronized final SchemaDVFactory getInstance(String factoryClass
}

// can't create a new object of this class
protected SchemaDVFactory(){}
protected SchemaDVFactory() {}

/**
* Get a built-in simple type of the given name
Expand Down

0 comments on commit 5d8053b

Please sign in to comment.