Skip to content

Conversation

@stevenchenUCD
Copy link

Solved the Problem Session.java cannot get Replyids, or get Hash vallue by calling thread.getReplies());
return was as shown .
because by defult Java will call Object.toString which is not monifyed (Spent me over 10 hours to find out the solution.......)

becasue replies is under Thread class not Post class, and replies are lists, so when I call it, it return s as shown [com.ecs160.Post$Thread@631330c]

Solved the Problem Session.java cannot get Replyids, or get Hash vallue by calling thread.getReplies());
return was as shown [com.ecs160.Post$Thread@631330c].
because by defult Java will call Object.toString which is not monifyed (Spent me over 10 hours to find out the solution.......)
Solved the Problem Session.java cannot get Replyids, or get Hash vallue by calling thread.getReplies());
return was as shown [com.ecs160.Post$Thread@631330c].
because by defult Java will call Object.toString which is not monifyed (Spent me over 10 hours to find out the solution.......)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant