Skip to content

Commit 58a430b

Browse files
committed
LUT-25199 : Improved management of concurrent access when editing a page
1 parent c7dd06a commit 58a430b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/java/fr/paris/lutece/plugins/wiki/web/WikiDynamicInputs.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,9 @@ public static void updateLastModifyAttemptPage( HttpServletRequest request ) thr
159159
sb.append(line);
160160
}
161161
String requestBody = sb.toString();
162-
// delete the first and last character of the string to parse an int
163162
requestBody = requestBody.substring(1);
164163
requestBody = requestBody.substring(0, requestBody.length() - 1);
165164
final int topicId = Integer.parseInt(requestBody);
166-
// parse
167165
Topic topic = TopicHome.findByPrimaryKey( topicId );
168166
try
169167
{

0 commit comments

Comments
 (0)