Permalink
Browse files

[FLINK-5388] Change private Graph constructor to protected

This closes #3044
  • Loading branch information...
1 parent 35050bb commit 986a03f782608532da45f5bff7c1b2f43a038bd1 @tonycox tonycox committed with StephanEwen Dec 26, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 flink-libraries/flink-gelly/src/main/java/org/apache/flink/graph/Graph.java
@@ -97,7 +97,7 @@
* @param edges a DataSet of edges.
* @param context the flink execution environment.
*/
- private Graph(DataSet<Vertex<K, VV>> vertices, DataSet<Edge<K, EV>> edges, ExecutionEnvironment context) {
+ protected Graph(DataSet<Vertex<K, VV>> vertices, DataSet<Edge<K, EV>> edges, ExecutionEnvironment context) {
this.vertices = vertices;
this.edges = edges;
this.context = context;

0 comments on commit 986a03f

Please sign in to comment.