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 164262 - [67cat] [other] Syntax Hilighting Misses variable usage
Summary: [67cat] [other] Syntax Hilighting Misses variable usage
Status: RESOLVED INVALID
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-01 08:26 UTC by esmithbss
Modified: 2009-05-01 08:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2009-05-01 08:26:47 UTC
[ BUILD # : 200904291401 ]
[ JDK VERSION : 1.6.* ]

Assuming all the proper records exist, 

The following code indicates the dow parameter is never used.

  def for_day_of_week(dow,values)
    count = 0
    values.each do |v|
      count++ if v.time.start_time.wday == dow
    end
    count
  end
Comment 1 esmithbss 2009-05-01 08:28:00 UTC
User Error.