提交 ece58d0b 编写于 作者: L lancea

8000712: Remove unused fields in SyncFactory

Reviewed-by: mchung
上级 32946cd9
/* /*
* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -229,11 +229,7 @@ public class SyncFactory { ...@@ -229,11 +229,7 @@ public class SyncFactory {
* The standard resource file name. * The standard resource file name.
*/ */
private static String ROWSET_PROPERTIES = "rowset.properties"; private static String ROWSET_PROPERTIES = "rowset.properties";
/**
* The RI Optimistic Provider.
*/
private static String default_provider =
"com.sun.rowset.providers.RIOptimisticProvider";
/** /**
* Permission required to invoke setJNDIContext and setLogger * Permission required to invoke setJNDIContext and setLogger
*/ */
...@@ -248,24 +244,13 @@ public class SyncFactory { ...@@ -248,24 +244,13 @@ public class SyncFactory {
* The <code>Logger</code> object to be used by the <code>SyncFactory</code>. * The <code>Logger</code> object to be used by the <code>SyncFactory</code>.
*/ */
private static volatile Logger rsLogger; private static volatile Logger rsLogger;
/**
*
*/
private static Level rsLevel;
/** /**
* The registry of available <code>SyncProvider</code> implementations. * The registry of available <code>SyncProvider</code> implementations.
* See section 2.0 of the class comment for <code>SyncFactory</code> for an * See section 2.0 of the class comment for <code>SyncFactory</code> for an
* explanation of how a provider can be added to this registry. * explanation of how a provider can be added to this registry.
*/ */
private static Hashtable<String, SyncProvider> implementations; private static Hashtable<String, SyncProvider> implementations;
/**
* Internal sync object used to maintain the SPI as a singleton
*/
private static Object logSync = new Object();
/**
* Internal PrintWriter field for logging facility
*/
private static java.io.PrintWriter logWriter = null;
/** /**
* Adds the the given synchronization provider to the factory register. Guidelines * Adds the the given synchronization provider to the factory register. Guidelines
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册