Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
f81c28be
Commit
f81c28be
authored
Oct 28, 2015
by
Christian Schudt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace deprecated org.jivesoftware.util.Log with org.slf4j.Logger
parent
f40088a0
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
7 deletions
+26
-7
LdapGroupTester.java
src/java/org/jivesoftware/admin/LdapGroupTester.java
+4
-1
LdapUserProfile.java
src/java/org/jivesoftware/admin/LdapUserProfile.java
+4
-1
LdapUserTester.java
src/java/org/jivesoftware/admin/LdapUserTester.java
+4
-1
EmbeddedConnectionProvider.java
...org/jivesoftware/database/EmbeddedConnectionProvider.java
+4
-2
ResourceServlet.java
src/java/org/jivesoftware/openfire/http/ResourceServlet.java
+6
-1
ServerStarter.java
...java/org/jivesoftware/openfire/starter/ServerStarter.java
+4
-1
No files found.
src/java/org/jivesoftware/admin/LdapGroupTester.java
View file @
f81c28be
...
...
@@ -20,8 +20,9 @@
package
org
.
jivesoftware
.
admin
;
import
org.jivesoftware.util.Log
;
import
org.jivesoftware.openfire.ldap.LdapManager
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
javax.naming.NamingEnumeration
;
import
javax.naming.directory.Attribute
;
...
...
@@ -42,6 +43,8 @@ import java.util.Collection;
*/
public
class
LdapGroupTester
{
private
static
final
Logger
Log
=
LoggerFactory
.
getLogger
(
LdapGroupTester
.
class
);
private
LdapManager
manager
;
public
LdapGroupTester
(
LdapManager
manager
)
{
...
...
src/java/org/jivesoftware/admin/LdapUserProfile.java
View file @
f81c28be
...
...
@@ -25,8 +25,9 @@ import org.dom4j.io.OutputFormat;
import
org.jivesoftware.openfire.ldap.LdapManager
;
import
org.jivesoftware.openfire.ldap.LdapVCardProvider
;
import
org.jivesoftware.util.JiveGlobals
;
import
org.jivesoftware.util.Log
;
import
org.jivesoftware.util.XMLWriter
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
java.io.IOException
;
import
java.io.StringWriter
;
...
...
@@ -40,6 +41,8 @@ import java.util.Iterator;
*/
public
class
LdapUserProfile
{
private
static
final
Logger
Log
=
LoggerFactory
.
getLogger
(
LdapUserProfile
.
class
);
private
String
name
=
""
;
private
String
email
=
""
;
private
String
fullName
=
""
;
...
...
src/java/org/jivesoftware/admin/LdapUserTester.java
View file @
f81c28be
...
...
@@ -20,9 +20,10 @@
package
org
.
jivesoftware
.
admin
;
import
org.jivesoftware.util.Log
;
import
org.jivesoftware.util.Base64
;
import
org.jivesoftware.openfire.ldap.LdapManager
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.xmpp.packet.JID
;
import
javax.naming.NamingEnumeration
;
...
...
@@ -42,6 +43,8 @@ import java.util.*;
*/
public
class
LdapUserTester
{
private
static
final
Logger
Log
=
LoggerFactory
.
getLogger
(
LdapUserTester
.
class
);
/**
* Constants to access user properties
*/
...
...
src/java/org/jivesoftware/database/EmbeddedConnectionProvider.java
View file @
f81c28be
...
...
@@ -21,14 +21,14 @@
package
org
.
jivesoftware
.
database
;
import
org.jivesoftware.util.JiveGlobals
;
import
org.jivesoftware.util.Log
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
java.io.File
;
import
java.io.IOException
;
import
java.sql.Connection
;
import
java.sql.PreparedStatement
;
import
java.sql.SQLException
;
import
java.sql.Statement
;
import
java.sql.DriverManager
;
import
java.util.Properties
;
...
...
@@ -42,6 +42,8 @@ import java.util.Properties;
*/
public
class
EmbeddedConnectionProvider
implements
ConnectionProvider
{
private
static
final
Logger
Log
=
LoggerFactory
.
getLogger
(
EmbeddedConnectionProvider
.
class
);
private
Properties
settings
;
private
String
serverURL
;
private
String
driver
=
"org.hsqldb.jdbcDriver"
;
...
...
src/java/org/jivesoftware/openfire/http/ResourceServlet.java
View file @
f81c28be
...
...
@@ -22,6 +22,8 @@ package org.jivesoftware.openfire.http;
import
org.jivesoftware.util.*
;
import
org.jivesoftware.util.cache.Cache
;
import
org.jivesoftware.util.cache.CacheFactory
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
javax.servlet.http.HttpServlet
;
import
javax.servlet.http.HttpServletRequest
;
...
...
@@ -38,7 +40,10 @@ import java.io.*;
* Combines and serves resources, such as javascript or css files.
*/
public
class
ResourceServlet
extends
HttpServlet
{
// private static String suffix = ""; // Set to "_src" to use source version
private
static
final
Logger
Log
=
LoggerFactory
.
getLogger
(
ResourceServlet
.
class
);
// private static String suffix = ""; // Set to "_src" to use source version
private
static
long
expiresOffset
=
3600
*
24
*
10
;
// 10 days util client cache expires
private
boolean
debug
=
false
;
private
boolean
disableCompression
=
false
;
...
...
src/java/org/jivesoftware/openfire/starter/ServerStarter.java
View file @
f81c28be
...
...
@@ -20,7 +20,8 @@
package
org
.
jivesoftware
.
openfire
.
starter
;
import
org.jivesoftware.util.Log
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
java.io.File
;
/**
...
...
@@ -46,6 +47,8 @@ import java.io.File;
*/
public
class
ServerStarter
{
private
static
final
Logger
Log
=
LoggerFactory
.
getLogger
(
ServerStarter
.
class
);
/**
* Default to this location if one has not been specified
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment