Bug 143175 - Fix visibility on a fields in BinaryParserBlock
Summary: Fix visibility on a fields in BinaryParserBlock
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1   Edit
Assignee: Doug Schaefer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-05-23 07:23 EDT by Ruchi Arora CLA
Modified: 2008-06-19 13:42 EDT (History)
1 user (show)

See Also:


Attachments
Patch for BinaryParserBlock.java (1.52 KB, patch)
2006-05-23 07:24 EDT, Ruchi Arora CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ruchi Arora CLA 2006-05-23 07:23:22 EDT
FileName:                                   
BinaryParserBlock.java           

Changes Made:
Changed the access specifier of variables configMap and initialSelected to protected


Description:

We have created a class RemoteBinaryParserBlock.java which extends BinaryParserBlock.java and overrides setContainer() method.This is required in order to select SOM and ELF Parser by default.

In the overridden method (i.e. setContainer()) we are initializing initialSelected and configMap variables. So, they are changed as protected in proposed patch, so that they can be accessible through its child class.
Comment 1 Ruchi Arora CLA 2006-05-23 07:24:12 EDT
Created attachment 42254 [details]
Patch for BinaryParserBlock.java
Comment 2 Doug Schaefer CLA 2006-06-02 16:31:28 EDT
Applied.