Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
minerva
core
Merge requests
!1080
Resolve "MINERVANET - Error Report 169"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "MINERVANET - Error Report 169"
1126-minervanet-error-report-169
into
master
Overview
0
Commits
1
Pipelines
2
Changes
3
Merged
Piotr Gawron
requested to merge
1126-minervanet-error-report-169
into
master
5 years ago
Overview
0
Commits
1
Pipelines
2
Changes
3
Expand
Closes
#1126 (closed)
Edited
5 years ago
by
Piotr Gawron
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
cc54af95
1 commit,
5 years ago
3 files
+
50
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
model-command/src/main/java/lcsb/mapviewer/commands/CopyCommand.java
+
3
−
4
Options
@@ -277,11 +277,10 @@ public class CopyCommand extends NewModelCommand {
* original reaction
* @return copy of the reaction
*/
private
Reaction
createCopy
(
Reaction
reaction
)
{
Reaction
createCopy
(
Reaction
reaction
)
{
Reaction
copy
=
reaction
.
copy
();
reaction
.
getNodes
().
clear
();
for
(
AbstractNode
node
:
copy
.
getNodes
())
{
reaction
.
addNode
(
node
);
for
(
AbstractNode
node
:
reaction
.
getNodes
())
{
node
.
setReaction
(
reaction
);
}
copy
.
getNodes
().
clear
();
Loading