Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348557 - [server] Consider using Enums for *_RESOURCE and *_TYPE
Summary: [server] Consider using Enums for *_RESOURCE and *_TYPE
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 trivial (vote)
Target Milestone: 0.3 M2   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 349658
  Show dependency tree
 
Reported: 2011-06-07 09:16 EDT by Tomasz Zarna CLA
Modified: 2011-08-11 12:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2011-06-07 09:16:15 EDT
For constants representing resources and their types we could introduce an Enum for both.
Comment 1 Tomasz Zarna CLA 2011-08-11 12:19:12 EDT
This will be addressed with constant fields in classes like org.eclipse.orion.server.git.objects.Branch. See http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/diff/bundles/org.eclipse.orion.server.git/src/org/eclipse/orion/server/git/objects/Branch.java?id=4587f17f7c9ad1a34cb2a04492000175cf620805