This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 106770 - suggestion about missed guard block
Summary: suggestion about missed guard block
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: danilasergeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-15 10:22 UTC by Vladimir Voskresensky
Modified: 2015-08-15 01:57 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2007-06-15 10:22:38 UTC
One of common mistake of the beginners is the missed guard block in header file.
Usually this cause the problem during compilation when file included from several places.
It would be helpful to support in headers suggestion: "missed guard block" with the action "insert guard block"
Comment 1 danilasergeyev 2015-05-15 09:15:24 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/5afacf2b72ed
Comment 2 danilasergeyev 2015-05-15 10:06:51 UTC
additional fix:
http://hg.netbeans.org/cnd-main/rev/7ec58561bfda
Comment 3 Quality Engineering 2015-05-16 08:29:37 UTC
Integrated into 'main-silver', will be available in build *201505160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5afacf2b72ed
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #106770 suggestion about missed guard block
Comment 4 danilasergeyev 2015-05-18 13:31:18 UTC
one more additional fix, change set:
http://hg.netbeans.org/cnd-main/rev/d46b85be5507
Comment 5 Quality Engineering 2015-05-19 02:41:17 UTC
Integrated into 'main-silver', will be available in build *201505190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d46b85be5507
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #106770 missed guard block - additional fix
Comment 6 Quality Engineering 2015-05-30 10:05:16 UTC
Integrated into 'main-silver', will be available in build *201505300811* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/cecbf80ec2d2
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: bug #106770 changed tool tip position to very first line of header
Comment 7 Quality Engineering 2015-06-10 02:22:03 UTC
Integrated into 'main-silver', will be available in build *201506100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/56faceffc89d
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #106770 Missing guard block - change class naming
Comment 8 Quality Engineering 2015-06-11 02:39:27 UTC
Integrated into 'main-silver', will be available in build *201506110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f2a4003753ad
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #106770 Missing guard block - fixed tests
Comment 9 Quality Engineering 2015-07-03 01:19:21 UTC
Integrated into 'main-silver', will be available in build *201507030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f762e32c9e13
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixing unit tests for bug #106770 Missing guard block
Comment 10 Quality Engineering 2015-07-04 02:08:23 UTC
Integrated into 'main-silver', will be available in build *201507040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/604efe389876
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: Bug #106770 suggestion about missed guard block - inspection fix
Comment 11 danilasergeyev 2015-08-14 15:21:30 UTC
code cleanup:
https://hg.netbeans.org/cnd-main/rev/c7a4150ac202
Comment 12 Quality Engineering 2015-08-15 01:57:54 UTC
Integrated into 'main-silver', will be available in build *201508150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c7a4150ac202
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: bug #106770 suggestion about missed guard block - code cleanup