| Chunk |
|---|
| Conflicting content |
|---|
_zkClient = zkClient;
}
<<<<<<< HEAD
boolean checkPath(String path)
{
return true;// path.equals("/" + _root) || path.startsWith("/" + _root +
// "/");
}
@Override
public boolean create(String path, ZNRecord record, int options)
{
if (!checkPath(path))
{
LOG.error("invalid path. path: " + path);
return false;
}
=======
@Override
public boolean create(String path, ZNRecord record, int options)
{
>>>>>>> 85d68b383e7e27f08fc04fe0584c5ac9ddb6482b
CreateMode mode = Option.getMode(options);
if (mode == null)
{ |
| Solution content |
|---|
_zkClient = zkClient;
}
@Override
public boolean create(String path, ZNRecord record, int options)
{
CreateMode mode = Option.getMode(options);
if (mode == null)
{ |
| File |
|---|
| ZkBaseDataAccessor.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Annotation |
| If statement |
| Method declaration |
| Method signature |
| Chunk |
|---|
| Conflicting content |
|---|
String path = parentPath + "/" + childName;
paths.add(path);
}
<<<<<<< HEAD
return get(paths, options);
} catch (ZkNoNodeException e)
=======
// remove null children
List |
| Solution content |
|---|
String path = parentPath + "/" + childName;
paths.add(path);
}
//remove null children
List |
| File |
|---|
| ZkBaseDataAccessor.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Catch clause |
| Comment |
| Method invocation |
| Return statement |
| Variable |
| While statement |