Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile-Cn-Ko-En
Commits
564024a5
Commit
564024a5
authored
Aug 05, 2025
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix myDeckItem的deckid和userid获取错误
parent
9680f33b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/deck_square/DeckSquareFileUtil.java
...mb/ygomobile/ui/cards/deck_square/DeckSquareFileUtil.java
+2
-4
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/deck_square/DeckSquareFileUtil.java
View file @
564024a5
...
...
@@ -73,7 +73,7 @@ public class DeckSquareFileUtil {
try
{
String
data
=
line
.
replace
(
"#"
,
""
);
if
(!
data
.
isEmpty
())
{
userId
=
Integer
.
parseInt
(
data
)
;
deckId
=
data
;
}
// userId = Integer.parseInt(line.replaceAll("###", ""));
}
catch
(
NumberFormatException
e
)
{
...
...
@@ -82,17 +82,15 @@ public class DeckSquareFileUtil {
}
else
if
(
line
.
startsWith
(
"##"
))
{
line
=
line
.
replace
(
"#"
,
""
);
deckId
=
line
;
userId
=
Integer
.
parseInt
(
line
)
;
}
}
}
catch
(
IOException
e
)
{
LogUtil
.
e
(
TAG
,
"read 1"
,
e
);
}
finally
{
IOUtils
.
close
(
inputStream
);
}
return
deckId
;
...
...
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