mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-03 15:50:52 +00:00
no longer doing caching
This commit is contained in:
@@ -241,7 +241,7 @@ public class GHRepository {
|
||||
if (org.getLogin().equals(f.getInputByName("organization").getValueAttribute())) {
|
||||
// found it
|
||||
f.submit((HtmlButton)f.getElementsByTagName("button").get(0));
|
||||
return org.refreshRepository(name);
|
||||
return org.getRepository(name);
|
||||
}
|
||||
} catch (ElementNotFoundException e) {
|
||||
// continue
|
||||
@@ -264,7 +264,7 @@ public class GHRepository {
|
||||
f.submit((HtmlButton)f.getElementsByTagName("button").get(0));
|
||||
|
||||
// overwrite fields
|
||||
final GHRepository r = getOwner().fetchRepository(newName);
|
||||
final GHRepository r = getOwner().getRepository(newName);
|
||||
for (Field fi : getClass().getDeclaredFields()) {
|
||||
if (Modifier.isStatic(fi.getModifiers())) continue;
|
||||
fi.setAccessible(true);
|
||||
|
||||
Reference in New Issue
Block a user