Comments (2)
The problem is caused because the referenced enumerated type StaticFieldUse is declared private inside class InfoflowCFG.
Changing the access modifier to public partially solves the problem.
We should also avoid qualifying the constants in the switch cases.
switch (oldUse) {
case Unknown :
case Unused :
case ReadWrite :
newUse = fieldUse;
break;
case Read :
newUse = (fieldUse == StaticFieldUse.Read) ? oldUse : StaticFieldUse.ReadWrite;
break;
case Write :
newUse = (fieldUse == StaticFieldUse.Write) ? oldUse : StaticFieldUse.ReadWrite;
break;
default:
throw new RuntimeException("Invalid field use");
}
from jdeodorant.
Fixed in commit 67bf1d6b42423f9e753efdc4eae91654b32d961e
from jdeodorant.
Related Issues (20)
- Application "eclipse.commandline.application" could not be found in the registry HOT 4
- Problem in parsing cloneDR results folrder in Eclipse-JDeodorant-Plugin HOT 2
- Add developer guide to the README file
- Support Intellij IDEA
- Duplicated code and project not compiling after refactoring Long Method. HOT 4
- Extracted method after refactoring Long Method throws an exception not thrown in the original code. HOT 3
- NPE (JFreeChart - CCFInderX) HOT 3
- ReplaceTypeCodeWithStateStrategy refactoring does not modify all type-field accesses
- Wrong field's access in Extract Class refactoring.
- Wrong access of field instance of the class itself in Extract Class refactoring
- Wrong order of original class field initializers in Product class for Extract Class Refactoring
- Extract Class refactoring does not support final initialization with a field or a static function call. HOT 2
- Unexpected exception in Extract Class refactoring with final fields HOT 3
- Plug-in "ca.concordia.jdeodorant.eclipse.commandline-lambda" was unable to instantiate class "ca.concordia.jdeodorant.eclipse.commandline.Application". HOT 8
- Stackoverflow error when running JDeodorant on OpenMap HOT 3
- NullPointerException when reviewing CCFinderX inputs
- Using Multiple Smell Scans leads to "Incomprehensible Rainbow" Documents 🌈 HOT 3
- Compilation error after refactoring God Class using JDeodorant HOT 1
- Cannot start identify process HOT 2
- JDeodorant added to ProductHunt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jdeodorant.