Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
K
key_value-server
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
amir.yosef
key_value-server
Commits
94618a3c
You need to sign in or sign up before continuing.
Commit
94618a3c
authored
Aug 25, 2024
by
amir.yosef
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the factories final
parent
40e96001
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CommandFactory.java
src/factory/CommandFactory.java
+1
-1
ReplicaCommandFactory.java
src/factory/replica/ReplicaCommandFactory.java
+1
-1
No files found.
src/factory/CommandFactory.java
View file @
94618a3c
...
...
@@ -7,7 +7,7 @@ import server.SendToReplica;
import
java.io.OutputStream
;
import
java.util.List
;
public
class
CommandFactory
implements
Factory
{
public
final
class
CommandFactory
implements
Factory
{
private
static
final
class
FactoryHolder
{
private
static
final
CommandFactory
factory
=
new
CommandFactory
();
...
...
src/factory/replica/ReplicaCommandFactory.java
View file @
94618a3c
...
...
@@ -9,7 +9,7 @@ import model.Command;
import
java.util.List
;
public
class
ReplicaCommandFactory
implements
Factory
{
public
final
class
ReplicaCommandFactory
implements
Factory
{
private
static
final
class
ReplicaFactoryHolder
{
private
static
final
ReplicaCommandFactory
factory
=
new
ReplicaCommandFactory
();
}
...
...
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