mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Code quality changes
This commit is contained in:
parent
f07ed83722
commit
610f45d082
189 changed files with 4609 additions and 5203 deletions
|
@ -95,7 +95,6 @@ namespace GreenshotConfluencePlugin {
|
|||
pages.Add(page);
|
||||
|
||||
}
|
||||
continue;
|
||||
} catch (Exception ex) {
|
||||
// Preventing security problems
|
||||
LOG.DebugFormat("Couldn't get page details for space {0} / title {1}", space, title);
|
||||
|
@ -133,7 +132,7 @@ namespace GreenshotConfluencePlugin {
|
|||
if (pattern.ProgrammaticName != "ValuePatternIdentifiers.Pattern") {
|
||||
continue;
|
||||
}
|
||||
string url = (docElement.GetCurrentPattern(pattern) as ValuePattern).Current.Value.ToString();
|
||||
string url = (docElement.GetCurrentPattern(pattern) as ValuePattern).Current.Value;
|
||||
if (!string.IsNullOrEmpty(url)) {
|
||||
urls.Add(url);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue