Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LSC
lsc
Commits
9cf3c795
Commit
9cf3c795
authored
May 16, 2010
by
Jonathan CLARKE
Browse files
Avoid using implementation types like 'HashMap'; use the interface instead
parent
fb5f12a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/lsc/jndi/JndiModifications.java
View file @
9cf3c795
...
...
@@ -48,6 +48,7 @@ package org.lsc.jndi;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
javax.naming.NamingEnumeration
;
import
javax.naming.NamingException
;
...
...
@@ -166,7 +167,7 @@ public class JndiModifications {
*
* @return the hash
*/
public
Hash
Map
<
String
,
List
<
String
>>
getModificationsItemsByHash
()
{
public
Map
<
String
,
List
<
String
>>
getModificationsItemsByHash
()
{
HashMap
<
String
,
List
<
String
>>
result
=
new
HashMap
<
String
,
List
<
String
>>();
List
<
ModificationItem
>
mi
=
this
.
getModificationItems
();
...
...
src/main/java/org/lsc/utils/directory/AD.java
View file @
9cf3c795
...
...
@@ -50,6 +50,7 @@ import java.text.ParseException;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.Map
;
/**
* Utility class to manage specific entries for a Microsoft ActiveDirectory
...
...
@@ -178,8 +179,8 @@ public class AD {
}
/* The Hash of values to set or to unset */
private
static
final
Hash
Map
<
Integer
,
Integer
>
setHexValue
=
new
HashMap
<
Integer
,
Integer
>();
private
static
final
Hash
Map
<
Integer
,
Integer
>
unsetHexValue
=
new
HashMap
<
Integer
,
Integer
>();
private
static
final
Map
<
Integer
,
Integer
>
setHexValue
=
new
HashMap
<
Integer
,
Integer
>();
private
static
final
Map
<
Integer
,
Integer
>
unsetHexValue
=
new
HashMap
<
Integer
,
Integer
>();
/**
* Internal values in the AD in Hex
...
...
Write
Preview
Supports
Markdown
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