Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 205900 Details for
Bug 352977
Dirty Objects of CDOTransaction with CDOSavepoint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Workaround that needs method visibility change
bug352977_workaround.patch (text/plain), 1.57 KB, created by
Steve Monnier
on 2011-10-25 06:05:28 EDT
(
hide
)
Description:
Workaround that needs method visibility change
Filename:
MIME Type:
Creator:
Steve Monnier
Created:
2011-10-25 06:05:28 EDT
Size:
1.57 KB
patch
obsolete
>Index: src/org/eclipse/emf/spi/cdo/InternalCDOTransaction.java >=================================================================== >--- src/org/eclipse/emf/spi/cdo/InternalCDOTransaction.java (revision 9490) >+++ src/org/eclipse/emf/spi/cdo/InternalCDOTransaction.java (working copy) >@@ -103,6 +103,11 @@ > * @since 4.0 > */ > public Map<InternalCDOObject, InternalCDORevision> getCleanRevisions(); >+ >+ /** >+ * @since 4.0.1 >+ */ >+ public void collapseSavepoints(CDOCommitContext commitContext); > > /** > * Provides a context for a commit operation. >Index: src/org/eclipse/emf/internal/cdo/transaction/CDOTransactionImpl.java >=================================================================== >--- src/org/eclipse/emf/internal/cdo/transaction/CDOTransactionImpl.java (revision 9490) >+++ src/org/eclipse/emf/internal/cdo/transaction/CDOTransactionImpl.java (working copy) >@@ -1738,7 +1738,7 @@ > committables = null; > } > >- private void collapseSavepoints(CDOCommitContext commitContext) >+ public void collapseSavepoints(CDOCommitContext commitContext) > { > InternalCDOSavepoint newSavepoint = createSavepoint(null); > copyUncommitted(lastSavepoint.getAllNewObjects(), commitContext.getNewObjects(), newSavepoint.getNewObjects()); >@@ -2615,9 +2615,9 @@ > { > for (CDOObject object : objects.values()) > { >- CDOStateMachine.INSTANCE.commit((InternalCDOObject)object, result); >+ CDOStateMachine.INSTANCE.commit((InternalCDOObject)object, result); >+ } > } >- } > } > > public boolean isPartialCommit()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 352977
:
200450
|
200494
| 205900