Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Titan Language Server
Manage
Activity
Members
Labels
Plan
Issues
44
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
Eclipse Titan
Titan Language Server
Merge requests
!494
Handle existing markers in titanium (issue
#17
)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Handle existing markers in titanium (issue
#17
)
duplmrk
into
main
Overview
0
Commits
1
Changes
1
Merged
Miklos Magyari
requested to merge
duplmrk
into
main
8 months ago
Overview
0
Commits
1
Changes
1
Expand
Signed-off-by: Miklos Magyari
miklos.magyari@sigmatechnology.com
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
c06d29c0
1 commit,
8 months ago
1 file
+
5
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
lsp/src/main/java/org/eclipse/titan/lsp/titanium/markers/spotters/BaseCodeSmellSpotter.java
+
5
−
0
Options
@@ -73,6 +73,11 @@ abstract class BaseCodeSmellSpotter {
* the message of the marker
*/
public
Marker
report
(
final
Location
loc
,
final
String
message
)
{
for
(
final
Marker
report
:
reports
)
{
if
(
report
.
getLocation
().
equals
(
loc
)
&&
report
.
getMessage
().
equals
(
message
))
{
return
report
;
}
}
final
Marker
marker
=
new
Marker
(
loc
,
message
,
severity
,
type
);
reports
.
add
(
marker
);
Loading