[
https://issues.apache.org/jira/browse/SANDBOX-338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060069#comment-13060069
]
Simone Tripodi commented on SANDBOX-338:
----------------------------------------
Ciao Marco!
I'm experiencing difficulties on applying the patch, the problem I have is the
following:
{code}
$ patch -p0 < GenericIterableColorSet.patch
patching file src/test/java/org/apache/commons/graph/utils/GraphUtils.java
can't find file to patch at input line 102
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index:
src/test/java/org/apache/commons/graph/coloring/GraphColoringBackTrackingTestCase.java
|===================================================================
|---
src/test/java/org/apache/commons/graph/coloring/GraphColoringBackTrackingTestCase.java
(revision 1143025)
|+++
src/test/java/org/apache/commons/graph/coloring/GraphColoringBackTrackingTestCase.java
(working copy)
--------------------------
File to patch:
{code}
I think the reason is on:
{code}
Index:
src/test/java/org/apache/commons/graph/coloring/GraphColoringBackTrackingTestCase.java
===================================================================
---
src/test/java/org/apache/commons/graph/coloring/GraphColoringBackTrackingTestCase.java
(revision 1143025)
+++
src/test/java/org/apache/commons/graph/coloring/GraphColoringBackTrackingTestCase.java
(working copy)
{code}
Can you provide a fresh new patch after updating the code please?
TIA, have a nice day!
> [Graph Coloring] Generic iterable set of color
> ----------------------------------------------
>
> Key: SANDBOX-338
> URL: https://issues.apache.org/jira/browse/SANDBOX-338
> Project: Commons Sandbox
> Issue Type: Improvement
> Components: Graph
> Reporter: Marco Speranza
> Priority: Minor
> Attachments: GenericIterableColorSet.patch
>
>
> Hi folk, here is a little improvement of graph coloring. In order to
> generalize the APIs I changed the color {{Set}} with {{Iterable}} and
> furthermore generalized the color type.
> WDYT?
> Looking forward your comments.
> have a nice day
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira