Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348557

Summary: [server] Consider using Enums for *_RESOURCE and *_TYPE
Product: [ECD] Orion Reporter: Tomasz Zarna <tomasz.zarna>
Component: GitAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED WONTFIX QA Contact:
Severity: trivial    
Priority: P3    
Version: 0.2   
Target Milestone: 0.3 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 349658    

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