Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
p2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Han Zhang
p2
Commits
3e521a26
Commit
3e521a26
authored
9 years ago
by
Adam Blank
Browse files
Options
Downloads
Patches
Plain Diff
Undo of incorrect fix
parent
044f0c9a
Branches
master
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/p2/wordsuggestor/WordSuggestor.java
+1
-1
1 addition, 1 deletion
src/p2/wordsuggestor/WordSuggestor.java
with
1 addition
and
1 deletion
src/p2/wordsuggestor/WordSuggestor.java
+
1
−
1
View file @
3e521a26
...
...
@@ -67,7 +67,7 @@ public class WordSuggestor {
allWords
.
add
(
reader
.
next
());
}
String
[]
words
=
new
String
[
allWords
.
size
()
];
String
[]
words
=
new
String
[
N
];
int
i
=
words
.
length
-
1
;
while
(
i
>=
0
&&
allWords
.
hasWork
())
{
words
[
i
]
=
allWords
.
next
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment