lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
JavaScript
cc0-1.0
a520f07e04b12a4bba9ec04d91fc389637270537
0
iterami/common,iterami/common,iterami/common
'use strict'; // Required args: base // Optional args: entity, offset-x, offset-y, offset-z function webgl_attach(args){ args = core_args({ 'args': args, 'defaults': { 'entity': '_webgl-camera', 'offset-x': 0, 'offset-y': 0, 'offset-z': 0, }, }); core_enti...
js/webgl.js
'use strict'; // Required args: base // Optional args: entity, offset-x, offset-y, offset-z function webgl_attach(args){ args = core_args({ 'args': args, 'defaults': { 'entity': '_webgl-camera', 'offset-x': 0, 'offset-y': 0, 'offset-z': 0, }, }); core_enti...
moved webgl group modify todo to separate function
js/webgl.js
moved webgl group modify todo to separate function
<ide><path>s/webgl.js <ide> 'webgl', <ide> ], <ide> 'todo': function(entity){ <del> if(core_entities[entity]['logic']){ <del> core_entities[entity]['logic'](); <del> } <del> <del> core_entities[entity]['rotate-radians'] = { <del> 'x': math_degrees_t...
Java
apache-2.0
71228eb7004641059e508fa16511848d26e5303d
0
searchisko/searchisko,ollyjshaw/searchisko,searchisko/searchisko,ollyjshaw/searchisko,searchisko/searchisko,ollyjshaw/searchisko
/* * JBoss, Home of Professional Open Source * Copyright 2014 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. */ package org.searchisko.api.service; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashSet; import java....
api/src/main/java/org/searchisko/api/service/ParsedFilterConfigService.java
/* * JBoss, Home of Professional Open Source * Copyright 2014 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. */ package org.searchisko.api.service; import org.elasticsearch.common.joda.time.DateTime; import org.elasticsearch.common.joda.time.forma...
fixed ConcurrentModificationException during iterating and manipulating the map. fixes #136
api/src/main/java/org/searchisko/api/service/ParsedFilterConfigService.java
fixed ConcurrentModificationException during iterating and manipulating the map. fixes #136
<ide><path>pi/src/main/java/org/searchisko/api/service/ParsedFilterConfigService.java <ide> * as indicated by the @authors tag. All rights reserved. <ide> */ <ide> package org.searchisko.api.service; <add> <add>import java.lang.reflect.Method; <add>import java.util.ArrayList; <add>import java.util.HashSet; <add>impor...
Java
mit
b84b230801a34055a19a6d0e5a862436864243b4
0
cobaltians/Cobalt-Android
/** * * CobaltImageCache * Cobalt * * The MIT License (MIT) * * Copyright (c) 2014 Cobaltians * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including witho...
src/main/java/org/cobaltians/cobalt/database/CobaltImageCache.java
/** * * CobaltImageCache * Cobalt * * The MIT License (MIT) * * Copyright (c) 2014 Cobaltians * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including witho...
fix url exceed with image upload
src/main/java/org/cobaltians/cobalt/database/CobaltImageCache.java
fix url exceed with image upload
<ide><path>rc/main/java/org/cobaltians/cobalt/database/CobaltImageCache.java <ide> Bitmap bitmap = mMapImages.get(id); <ide> <ide> if (bitmap != null) { <del> // compressing the image <del> ByteArrayOutputStream baos = new ByteArrayOutputStream(); <del> ...
Java
apache-2.0
b0549ff256ffb1e2abc95c2f33ef7b1da55cc890
0
zimingd/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,hhu94...
package org.sagebionetworks.client; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net....
client/synapseJavaClient/src/main/java/org/sagebionetworks/client/SynapseClientImpl.java
package org.sagebionetworks.client; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net....
fix to allow retry of sending message
client/synapseJavaClient/src/main/java/org/sagebionetworks/client/SynapseClientImpl.java
fix to allow retry of sending message
<ide><path>lient/synapseJavaClient/src/main/java/org/sagebionetworks/client/SynapseClientImpl.java <ide> @Override <ide> public MessageToUser sendStringMessage(MessageToUser message, <ide> String messageBody) throws SynapseException { <del> if (message.getFileHandleId() != null) <del> throw new IllegalArgumentE...
Java
apache-2.0
3a90c1efa657145acff1dfacdb66f97d00c476ff
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.editor.impl; import com.intellij.diagnostic.AttachmentFactory; import com.intellij.diagnostic.Dumpable; import com.intellij.openapi.actionSystem.Acti...
platform/platform-impl/src/com/intellij/openapi/editor/impl/CaretImpl.java
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.editor.impl; import com.intellij.diagnostic.AttachmentFactory; import com.intellij.diagnostic.Dumpable; import com.intellij.openapi.actionSystem.IdeA...
IDEA-198066 RegEx. Wrong selection with double click.
platform/platform-impl/src/com/intellij/openapi/editor/impl/CaretImpl.java
IDEA-198066 RegEx. Wrong selection with double click.
<ide><path>latform/platform-impl/src/com/intellij/openapi/editor/impl/CaretImpl.java <ide> <ide> import com.intellij.diagnostic.AttachmentFactory; <ide> import com.intellij.diagnostic.Dumpable; <add>import com.intellij.openapi.actionSystem.ActionManager; <ide> import com.intellij.openapi.actionSystem.IdeActions; <ide>...
Java
mpl-2.0
cee5890464f5f2b43d11b369a7e146a7b4b392f5
0
zamojski/TowerCollector,zamojski/TowerCollector
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package info.zamojski.soft.towercollector; import android.Manifest; import android.annotation.TargetApi; import a...
app/src/main/java/info/zamojski/soft/towercollector/MainActivity.java
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package info.zamojski.soft.towercollector; import android.Manifest; import android.annotation.TargetApi; import a...
Remove unused condition.
app/src/main/java/info/zamojski/soft/towercollector/MainActivity.java
Remove unused condition.
<ide><path>pp/src/main/java/info/zamojski/soft/towercollector/MainActivity.java <ide> private boolean showNotCompatibleDialog = true; <ide> <ide> private BroadcastReceiver airplaneModeBroadcastReceiver = new AirplaneModeBroadcastReceiver(); <del> private BroadcastReceiver batterySaverBroadcastReceiver = nul...
JavaScript
mit
75842d85449948ad407e96f1aff1633fd5eacb87
0
googlefonts/opentype.js,nodebox/opentype.js,TrompoGames/opentype.js,byte-foundry/opentype.js,felipesanches/opentype.js,fpirsch/opentype.js,moyogo/opentype.js,jacobmarshall/opentype.js,Pomax/opentype.js,mcanthony/opentype.js,axkibe/opentype.js,miguelsousa/opentype.js,moyogo/opentype.js,googlefonts/opentype.js,fpirsch/op...
// opentype.js 0.0.1 // https://github.com/nodebox/opentype.js // (c) 2013 Frederik De Bleser // opentype.js may be freely distributed under the MIT license. /*jslint bitwise: true */ /*global exports,DataView,document */ (function (exports) { 'use strict'; var opentype, dataTypes, typeOffsets...
opentype.js
// opentype.js 0.0.1 // https://github.com/nodebox/opentype.js // (c) 2013 Frederik De Bleser // opentype.js may be freely distributed under the MIT license. /*jslint bitwise: true */ /*global exports,DataView,document */ (function (exports) { 'use strict'; var opentype, dataTypes, typeOffsets...
Fonts with unsupported cmap tables no longer crash.
opentype.js
Fonts with unsupported cmap tables no longer crash.
<ide><path>pentype.js <ide> } <ide> } <ide> if (offset === -1) { <del> throw new Error("Could not find supported cmap encoding."); <add> // There is no cmap table in the font that we support, so return null. <add> // This font will be marked as unsupported. <...
Java
apache-2.0
be03d10e20a0c3b6a09377b20d7b95d7a7ddfeca
0
brandt/GridSphere,brandt/GridSphere
/* * @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a> * @version $Id$ */ package org.gridlab.gridsphere.servlets; import org.gridlab.gridsphere.core.persistence.PersistenceManagerFactory; import org.gridlab.gridsphere.core.persistence.hibernate.DBTask; import org.gridlab.gridsphere.layout.PortletLayoutEn...
src/org/gridlab/gridsphere/servlets/GridSphereServlet.java
/* * @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a> * @version $Id$ */ package org.gridlab.gridsphere.servlets; import org.gridlab.gridsphere.core.persistence.PersistenceManagerFactory; import org.gridlab.gridsphere.core.persistence.hibernate.DBTask; import org.gridlab.gridsphere.layout.PortletLayoutEn...
track by user name not useoid git-svn-id: 616481d960d639df1c769687dde8737486ca2a9a@4149 9c99c85f-4d0c-0410-8460-a9a1c48a3a7f
src/org/gridlab/gridsphere/servlets/GridSphereServlet.java
track by user name not useoid
<ide><path>rc/org/gridlab/gridsphere/servlets/GridSphereServlet.java <ide> <ide> String trackme = req.getParameter(TrackerService.TRACK_PARAM); <ide> if (trackme != null) { <del> trackerService.trackURL(trackme, req.getHeader("user-agent"), portletReq.getUser().getID()); <add> tra...
JavaScript
bsd-3-clause
91d73acaec99033d7b127d2852a9dd5c3e038439
0
django-leonardo/django-leonardo,django-leonardo/django-leonardo,django-leonardo/django-leonardo,django-leonardo/django-leonardo
/* * Leonardo resource loader */ var leonardo = function(leonardo) { leonardo.fn = leonardo.fn || {}; /** * Add JS / CSS resource to DOM, if not exists * @example loadResource({src:'/my.js',async:true,defer:true}) <br> * loadResource("/my.js") or arrays of them * loadResource(["/lol.js",...
leonardo/static/js/lib/loader.js
/** * Add JS / CSS resource to DOM, if not exists * @example loadResource({src:'/my.js',async:true,defer:true}) <br> * loadResource("/my.js") or arrays of them * loadResource(["/lol.js","/lol2.js",{src:"/lol2",async:true}]) * loadResource("/lol.css",{src:"/megalol.css"}) * USE ONLY ABSOLUTE PATHS */ function lo...
JS Load resource function location changed due to new convensions (with fallback).
leonardo/static/js/lib/loader.js
JS Load resource function location changed due to new convensions (with fallback).
<ide><path>eonardo/static/js/lib/loader.js <del>/** <del> * Add JS / CSS resource to DOM, if not exists <del> * @example loadResource({src:'/my.js',async:true,defer:true}) <br> <del> * loadResource("/my.js") or arrays of them <del> * loadResource(["/lol.js","/lol2.js",{src:"/lol2",async:true}]) <del> * loadResource("/...
Java
apache-2.0
895fa11ea6204f06d75306b6457170751affc7cc
0
deveth0/bitcointrader,deveth0/bitcointrader,deveth0/bitcointrader
//$URL$ //$Id$ package de.dev.eth0.bitcointrader.ui.fragments; import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.text.TextUtils; import android.util.Log; import android.view.LayoutInflater; import android.view.Vi...
BitcoinTrader/src/de/dev/eth0/bitcointrader/ui/fragments/TrailingStopLossFragment.java
//$URL$ //$Id$ package de.dev.eth0.bitcointrader.ui.fragments; import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.text.TextUtils; import android.util.Log; import android.view.LayoutInflater; import android.view.Vi...
Bitcointrader: fixes #129 (NPE) git-svn-id: a355d1b694e879546a774084536e9dc3bacb52b5@294 46fdfbd1-27fd-a4d1-f970-16196c59cddc
BitcoinTrader/src/de/dev/eth0/bitcointrader/ui/fragments/TrailingStopLossFragment.java
Bitcointrader: fixes #129 (NPE)
<ide><path>itcoinTrader/src/de/dev/eth0/bitcointrader/ui/fragments/TrailingStopLossFragment.java <ide> import de.dev.eth0.bitcointrader.BitcoinTraderApplication; <ide> import de.dev.eth0.bitcointrader.Constants; <ide> import de.dev.eth0.bitcointrader.R; <add>import de.dev.eth0.bitcointrader.service.ExchangeService; <id...
Java
bsd-2-clause
841aa7d14c36245744de49d3efae18375793c9de
0
bramp/ffmpeg-cli-wrapper,bramp/ffmpeg-cli-wrapper
package net.bramp.ffmpeg.progress; import com.google.common.base.MoreObjects; import net.bramp.ffmpeg.FFmpegUtils; import org.apache.commons.lang3.math.Fraction; import java.util.Objects; import static com.google.common.base.Preconditions.checkNotNull; /** * TODO Change to be immutable */ public class Progress { ...
src/main/java/net/bramp/ffmpeg/progress/Progress.java
package net.bramp.ffmpeg.progress; import com.google.common.base.MoreObjects; import net.bramp.ffmpeg.FFmpegUtils; import org.apache.commons.lang3.math.Fraction; import java.util.Objects; import static com.google.common.base.Preconditions.checkNotNull; /** * TODO Change to be immutable */ public class Progress { ...
Made the various Progress members public, and fixed a build error (due to a bad merge).
src/main/java/net/bramp/ffmpeg/progress/Progress.java
Made the various Progress members public, and fixed a build error (due to a bad merge).
<ide><path>rc/main/java/net/bramp/ffmpeg/progress/Progress.java <ide> * TODO Change to be immutable <ide> */ <ide> public class Progress { <del> long frame = 0; <del> Fraction fps = Fraction.ZERO; <add> public long frame = 0; <add> public Fraction fps = Fraction.ZERO; <ide> <ide> // TODO stream_0_0_q=0.0 <ide>...
Java
lgpl-2.1
24b4b2bd2582cbe3e44db44fd1d6b930e207b984
0
gallardo/opencms-core,ggiudetti/opencms-core,gallardo/opencms-core,mediaworx/opencms-core,mediaworx/opencms-core,alkacon/opencms-core,MenZil/opencms-core,sbonoc/opencms-core,mediaworx/opencms-core,MenZil/opencms-core,MenZil/opencms-core,ggiudetti/opencms-core,sbonoc/opencms-core,sbonoc/opencms-core,ggiudetti/opencms-co...
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free So...
src/org/opencms/db/generic/CmsUserQueryBuilder.java
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free So...
Fixing issue with the web user query template.
src/org/opencms/db/generic/CmsUserQueryBuilder.java
Fixing issue with the web user query template.
<ide><path>rc/org/opencms/db/generic/CmsUserQueryBuilder.java <ide> import org.opencms.db.CmsDbUtil; <ide> import org.opencms.db.CmsPagingQuery; <ide> import org.opencms.db.CmsSelectQuery; <add>import org.opencms.db.CmsSelectQuery.TableAlias; <ide> import org.opencms.db.CmsSimpleQueryFragment; <ide> import org.opencms....
Java
lgpl-2.1
082b130f7811af306653d4a76721b549a733441c
0
JiriOndrusek/wildfly-core,JiriOndrusek/wildfly-core,jfdenise/wildfly-core,soul2zimate/wildfly-core,luck3y/wildfly-core,jfdenise/wildfly-core,bstansberry/wildfly-core,jamezp/wildfly-core,ivassile/wildfly-core,yersan/wildfly-core,darranl/wildfly-core,jamezp/wildfly-core,aloubyansky/wildfly-core,jfdenise/wildfly-core,yers...
/* * JBoss, Home of Professional Open Source. * Copyright 2013, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
domain-management/src/main/java/org/jboss/as/domain/management/access/AccessConstraintAppliesToResourceDefinition.java
/* * JBoss, Home of Professional Open Source. * Copyright 2013, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
Don't show redundant/confusing individual attribute/operation data in RBAC constraint applies-to if the entire resource is constrained
domain-management/src/main/java/org/jboss/as/domain/management/access/AccessConstraintAppliesToResourceDefinition.java
Don't show redundant/confusing individual attribute/operation data in RBAC constraint applies-to if the entire resource is constrained
<ide><path>omain-management/src/main/java/org/jboss/as/domain/management/access/AccessConstraintAppliesToResourceDefinition.java <ide> <ide> package org.jboss.as.domain.management.access; <ide> <add>import java.util.Collections; <ide> import java.util.Set; <ide> <ide> import org.jboss.as.controller.AttributeDefiniti...
JavaScript
apache-2.0
3358f0ae85037847e8fb27238adb6006211fe3cd
0
google-github-actions/setup-gcloud,google-github-actions/setup-gcloud,google-github-actions/setup-gcloud
module.exports = /******/ (function(modules, runtime) { // webpackBootstrap /******/ "use strict"; /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/...
setup-gcloud/dist/index.js
module.exports = /******/ (function(modules, runtime) { // webpackBootstrap /******/ "use strict"; /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/...
chore: build dist
setup-gcloud/dist/index.js
chore: build dist
<ide><path>etup-gcloud/dist/index.js <ide> <ide> /***/ }), <ide> <add>/***/ 82: <add>/***/ (function(__unusedmodule, exports) { <add> <add>"use strict"; <add> <add>// We use any as a valid input type <add>/* eslint-disable @typescript-eslint/no-explicit-any */ <add>Object.defineProperty(exports, "__esModule", { value...
JavaScript
mit
918bc398c7a9fc31a14ca1676af2639ac99edc78
0
follesoe/divemanager-edit,follesoe/divemanager-edit,follesoe/divemanager-edit
var fs = require('fs'); var express = require('express'); var cmp = require('semver-compare'); var app = express(); app.use(express.static('../../output')); app.get('/', function (req, res) { res.send('Squirrel Test Server'); }); app.get('/update/darwin_x64/:version', function (req, res) { var version = req.para...
src/squirrel-server/app.js
var fs = require('fs'); var express = require('express'); var cmp = require('semver-compare'); var app = express(); app.use(express.static('../../output')); app.get('/', function (req, res) { res.send('Squirrel Test Server'); }); app.get('/update/darwin/:version', function (req, res) { var version = req.params.v...
Add architecture to route
src/squirrel-server/app.js
Add architecture to route
<ide><path>rc/squirrel-server/app.js <ide> res.send('Squirrel Test Server'); <ide> }); <ide> <del>app.get('/update/darwin/:version', function (req, res) { <add>app.get('/update/darwin_x64/:version', function (req, res) { <ide> var version = req.params.version; <ide> fs.readdir('../../output/SuuntoDMEditor-darwin...
Java
mit
error: pathspec 'tests/de/craften/craftenlauncher/logic/auth/MinecraftUserTest.java' did not match any file(s) known to git
ebf93bc6eb631d87ede1495abae67e2cbe570c04
1
TeamWertarbyte/craften-launcher
package de.craften.craftenlauncher.logic.auth; import org.junit.Test; import static org.junit.Assert.*; public class MinecraftUserTest { @Test public void testEquals() throws Exception { MinecraftUser user1 = new MinecraftUser("email_one@test.de", "54bnb5br_profileid_berb4b3","one","b43v4bvbvt_acces...
tests/de/craften/craftenlauncher/logic/auth/MinecraftUserTest.java
Test for MinecraftUser equals Method
tests/de/craften/craftenlauncher/logic/auth/MinecraftUserTest.java
Test for MinecraftUser equals Method
<ide><path>ests/de/craften/craftenlauncher/logic/auth/MinecraftUserTest.java <add>package de.craften.craftenlauncher.logic.auth; <add> <add>import org.junit.Test; <add> <add>import static org.junit.Assert.*; <add> <add>public class MinecraftUserTest { <add> <add> @Test <add> public void testEquals() throws Except...
JavaScript
mit
a322f50058f87d1a58e97cb6ef74b8fe2bababee
0
carlosalberto/echo-js,toshok/echojs,carlosalberto/echo-js,carlosalberto/echo-js,carlosalberto/echo-js,toshok/echojs,carlosalberto/echo-js,toshok/echojs,toshok/echojs,carlosalberto/echo-js,toshok/echojs,toshok/echojs,toshok/echojs,toshok/echojs
/* vim: set sw=4 ts=4 et tw=78: */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at...
lib/compiler.js
/* vim: set sw=4 ts=4 et tw=78: */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at...
lots of misc updates
lib/compiler.js
lots of misc updates
<ide><path>ib/compiler.js <ide> // special key for parent scope when performing lookups <ide> const PARENT_SCOPE_KEY = ":parent:"; <ide> <add>const EJS_CONTEXT_NAME = "__ejs_context"; <add>const EJS_THIS_NAME = "__ejs_this"; <add> <add>const BUILTIN_ARGS = [ <add> { name: EJS_CONTEXT_NAME, type: llvm.LLVMType.EjsValu...
Java
apache-2.0
0d6187ed3fd47a2a6185f0a36f853080e7412573
0
Wajihulhassan/Hadoop-2.7.0,Wajihulhassan/Hadoop-2.7.0,Wajihulhassan/Hadoop-2.7.0,Wajihulhassan/Hadoop-2.7.0,Wajihulhassan/Hadoop-2.7.0,Wajihulhassan/Hadoop-2.7.0,Wajihulhassan/Hadoop-2.7.0,Wajihulhassan/Hadoop-2.7.0
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Adding Git related Dotfiles
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java
Adding Git related Dotfiles
<ide><path>adoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/FairScheduler.java <ide> /* Start-Wajih Get decision stats*/ <ide> @Override <ide> public String getDecisionTimeStats() { <del> /* <add> ...
Java
apache-2.0
9b7d4120855343c5327998fb15ee5745a462ec73
0
consulo/consulo,ol-loginov/intellij-community,caot/intellij-community,fengbaicanhe/intellij-community,signed/intellij-community,akosyakov/intellij-community,ThiagoGarciaAlves/intellij-community,ThiagoGarciaAlves/intellij-community,allotria/intellij-community,wreckJ/intellij-community,supersven/intellij-community,ibinti...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
plugins/groovy/src/org/jetbrains/plugins/groovy/runner/GroovyScriptRunner.java
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
string.matches(pattern), not vice versa
plugins/groovy/src/org/jetbrains/plugins/groovy/runner/GroovyScriptRunner.java
string.matches(pattern), not vice versa
<ide><path>lugins/groovy/src/org/jetbrains/plugins/groovy/runner/GroovyScriptRunner.java <ide> protected static VirtualFile findGroovyJar(@NotNull Module module) { <ide> final VirtualFile[] files = ModuleRootManager.getInstance(module).getFiles(OrderRootType.CLASSES); <ide> for (VirtualFile root : files) { <d...
Java
apache-2.0
15e75b11fe80734207180d1fa0bc9371cf58fb41
0
wurstscript/WurstScript,Cokemonkey11/WurstScript,peq/WurstScript,Cokemonkey11/WurstScript,Cokemonkey11/WurstScript,peq/WurstScript,Cokemonkey11/WurstScript,peq/WurstScript,peq/WurstScript,wurstscript/WurstScript,Cokemonkey11/WurstScript,wurstscript/WurstScript
package de.peeeq.wurstio.languageserver.requests; import com.google.common.base.Charsets; import com.google.common.base.Preconditions; import com.google.common.io.Files; import de.peeeq.wurstio.CompiletimeFunctionRunner; import de.peeeq.wurstio.UtilsIO; import de.peeeq.wurstio.WurstCompilerJassImpl; import de.peeeq.wu...
de.peeeq.wurstscript/src/main/java/de/peeeq/wurstio/languageserver/requests/MapRequest.java
package de.peeeq.wurstio.languageserver.requests; import com.google.common.base.Charsets; import com.google.common.base.Preconditions; import com.google.common.io.Files; import de.peeeq.wurstio.CompiletimeFunctionRunner; import de.peeeq.wurstio.UtilsIO; import de.peeeq.wurstio.WurstCompilerJassImpl; import de.peeeq.wu...
fix trying to create build dir when it already exists
de.peeeq.wurstscript/src/main/java/de/peeeq/wurstio/languageserver/requests/MapRequest.java
fix trying to create build dir when it already exists
<ide><path>e.peeeq.wurstscript/src/main/java/de/peeeq/wurstio/languageserver/requests/MapRequest.java <ide> import org.eclipse.lsp4j.services.LanguageClient; <ide> <ide> import java.io.File; <del>import java.io.IOException; <ide> import java.io.PrintStream; <ide> import java.nio.channels.NonWritableChannelException; <...
Java
apache-2.0
fa7cb010469731bd9b17610eb32962faf12360b1
0
jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics
/* * Java Genetic Algorithm Library (@__identifier__@). * Copyright (c) @__year__@ Franz Wilhelmstötter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/...
jenetics.ext/src/main/java/io/jenetics/ext/moea/Vec.java
/* * Java Genetic Algorithm Library (@__identifier__@). * Copyright (c) @__year__@ Franz Wilhelmstötter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/...
Improve Javadoc.
jenetics.ext/src/main/java/io/jenetics/ext/moea/Vec.java
Improve Javadoc.
<ide><path>enetics.ext/src/main/java/io/jenetics/ext/moea/Vec.java <ide> * final Vec<double[]> point2D = Vec.of(0.1, 5.4); <ide> * final Vec<int[]> point3D = Vec.of(1, 2, 3); <ide> * }</pre> <add> * <add> * The underlying array is <em>just</em> wrapped and <em>not</em> copied. This <add> * means you can change the v...
Java
apache-2.0
62c832bb5763eb6712601596345113c866f008ab
0
jiangqqlmj/Android-Universal-Image-Loader-Modify
/******************************************************************************* * Copyright 2011-2014 Sergey Tarasevich * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www....
library/src/main/java/com/nostra13/universalimageloader/core/ImageLoaderConfiguration.java
/******************************************************************************* * Copyright 2011-2014 Sergey Tarasevich * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www....
+):1.完成ImageLoaderConfiguration ImageLoader参数配置类和方法的注释
library/src/main/java/com/nostra13/universalimageloader/core/ImageLoaderConfiguration.java
+):1.完成ImageLoaderConfiguration ImageLoader参数配置类和方法的注释
<ide><path>ibrary/src/main/java/com/nostra13/universalimageloader/core/ImageLoaderConfiguration.java <ide> import java.util.concurrent.Executor; <ide> <ide> /** <add> * ImageLoader参数配置类 <ide> * Presents configuration for {@link ImageLoader} <ide> * <ide> * @author Sergey Tarasevich (nostra13[at]gmail[dot]com) <ide>...
Java
apache-2.0
57d8ac70560ad5810558057ce7cd0668ae17a696
0
customme/saiku,qixiaobo/saiku-self,qixiaobo/saiku-self,newenter/saiku,OSBI/saiku,newenter/saiku,qixiaobo/saiku-self,OSBI/saiku,OSBI/saiku,customme/saiku,customme/saiku,newenter/saiku,OSBI/saiku,customme/saiku,newenter/saiku,qixiaobo/saiku-self,OSBI/saiku
/* * Copyright 2012 OSBI Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
saiku-core/saiku-service/src/main/java/org/saiku/repository/ClassPathRepositoryManager.java
/* * Copyright 2012 OSBI Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
remove unneeded lookup
saiku-core/saiku-service/src/main/java/org/saiku/repository/ClassPathRepositoryManager.java
remove unneeded lookup
<ide><path>aiku-core/saiku-service/src/main/java/org/saiku/repository/ClassPathRepositoryManager.java <ide> private String append; <ide> private String session = null; <ide> <del> private String sep = File.separator; <add> private String sep = "/"; <ide> private ClassPathRepositoryManager(String config, String...
JavaScript
mit
b2db7a72088aa77217b356b4e13f4788bcbc2a69
0
jeffeb3/sandify,jeffeb3/sandify,jeffeb3/sandify
import React, { Component } from 'react'; import { Col, ControlLabel, Form, FormControl, FormGroup, ListGroup, ListGroupItem, Panel, } from 'react-bootstrap' import './Transforms.css' import Vicious1Vertices from './Vicious1Vertices'; import { Font2 } from './Fonts'; import { Vertex } from '../Geometry'...
src/inputs/Transforms.js
import React, { Component } from 'react'; import { Col, ControlLabel, Form, FormControl, FormGroup, ListGroup, ListGroupItem, Panel, } from 'react-bootstrap' import './Transforms.css' import Vicious1Vertices from './Vicious1Vertices'; import { Font2 } from './Fonts'; import { Vertex } from '../Geometry'...
don't show link text if there is no link
src/inputs/Transforms.js
don't show link text if there is no link
<ide><path>rc/inputs/Transforms.js <ide> }); <ide> <ide> var options_list_render = undefined; <add> var link_render = undefined; <add> <add> if (this.props.link) { <add> link_render = <p>See <a target="_blank" rel="noopener noreferrer" href={this.props.link}>{this.props.link}</a> for ideas</p>; <add...
Java
apache-2.0
1438b6d17e864e1663d8045f9a0520444ba33ca1
0
jstourac/undertow,msfm/undertow,darranl/undertow,pedroigor/undertow,n1hility/undertow,soul2zimate/undertow,aradchykov/undertow,stuartwdouglas/undertow,rhusar/undertow,ctomc/undertow,soul2zimate/undertow,Karm/undertow,pferraro/undertow,undertow-io/undertow,stuartwdouglas/undertow,darranl/undertow,popstr/undertow,n1hilit...
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
core/src/main/java/io/undertow/server/HttpServerExchange.java
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
Fix mischievous Javadoc comment in io.undertow.server.HttpServerExchange#getDestinationAddress
core/src/main/java/io/undertow/server/HttpServerExchange.java
Fix mischievous Javadoc comment in io.undertow.server.HttpServerExchange#getDestinationAddress
<ide><path>ore/src/main/java/io/undertow/server/HttpServerExchange.java <ide> } <ide> <ide> /** <del> * Get the source address of the HTTP request. <del> * <del> * @return the source address of the HTTP request <add> * Get the destination address of the HTTP request. <add> * <add> * @re...
Java
apache-2.0
e050a5f76d19094b83a2f0dbc94e9092b6a6f1cb
0
bhargavbhegde7/android-ocr,patrickms/android-ocr,sirojnurulum/android-ocr,yiakwy/android-ocr,luklanis/esr-scanner,didldum/android-ocr,yummy222/android-ocr,bigant88/android-ocr,Drakefrog/android-ocr,zhupengGitHub/android-ocr,nonamejx/DictionaryX,jkalbere/beer-app-ocr,The-Chanman/android-ocr,yummy222/android-ocr,The-Chan...
/* * Copyright (C) 2008 ZXing authors * Copyright 2011 Robert Theis * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
android/src/edu/sfsu/cs/orange/ocr/CaptureActivityHandler.java
/* * Copyright (C) 2008 ZXing authors * Copyright 2011 Robert Theis * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
delay continuous decoding when autofocus is focusing
android/src/edu/sfsu/cs/orange/ocr/CaptureActivityHandler.java
delay continuous decoding when autofocus is focusing
<ide><path>ndroid/src/edu/sfsu/cs/orange/ocr/CaptureActivityHandler.java <ide> if (state == State.CONTINUOUS) { <ide> restartOcrPreviewAndDecode(); <ide> } else if (state == State.CONTINUOUS_FOCUSING) { <del> message = Message.obtain(activity.getHandler(), R.id.ocr_continuous_retry_af...
Java
apache-2.0
7b1438054cb168118e9954da1354f667678170f3
0
espiegelberg/spring-data-neo4j
/* * Copyright (c) [2011-2016] "Pivotal Software, Inc." / "Neo Technology" / "Graph Aware Ltd." * * This product is licensed to you under the Apache License, Version 2.0 (the "License"). * You may not use this product except in compliance with the License. * * This product may include a number of subcomponents w...
spring-data-neo4j/src/main/java/org/springframework/data/neo4j/conversion/MetaDataDrivenConversionService.java
/* * Copyright (c) [2011-2016] "Pivotal Software, Inc." / "Neo Technology" / "Graph Aware Ltd." * * This product is licensed to you under the Apache License, Version 2.0 (the "License"). * You may not use this product except in compliance with the License. * * This product may include a number of subcomponents w...
DATAGRAPH-873 - Fix MetaDataDrivenConversionService to compile against Spring Framework 4.3.
spring-data-neo4j/src/main/java/org/springframework/data/neo4j/conversion/MetaDataDrivenConversionService.java
DATAGRAPH-873 - Fix MetaDataDrivenConversionService to compile against Spring Framework 4.3.
<ide><path>pring-data-neo4j/src/main/java/org/springframework/data/neo4j/conversion/MetaDataDrivenConversionService.java <ide> return; <ide> } <ide> <del> Converter<?, ?> toGraphConverter = new Converter() { <add> Converter toGraphConverter = new Converter() { <ide> @Overr...
Java
apache-2.0
4ffa77d68fd0beb5f0736a7527f672cbcd63a74d
0
apache/logging-log4j2,codescale/logging-log4j2,xnslong/logging-log4j2,apache/logging-log4j2,xnslong/logging-log4j2,apache/logging-log4j2,GFriedrich/logging-log4j2,codescale/logging-log4j2,GFriedrich/logging-log4j2,xnslong/logging-log4j2,codescale/logging-log4j2,GFriedrich/logging-log4j2
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
log4j-core/src/test/java/org/apache/logging/log4j/core/appender/mom/jeromq/JeroMqAppenderTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you ...
Refactor common strings into constants.
log4j-core/src/test/java/org/apache/logging/log4j/core/appender/mom/jeromq/JeroMqAppenderTest.java
Refactor common strings into constants.
<ide><path>og4j-core/src/test/java/org/apache/logging/log4j/core/appender/mom/jeromq/JeroMqAppenderTest.java <ide> <ide> public class JeroMqAppenderTest { <ide> <add> private static final String ENDPOINT = "tcp://localhost:5556"; <add> <add> private static final String APPENDER_NAME = "JeroMQAppender"; <add> <i...
Java
apache-2.0
ead1d570d0e649f841e2147ed412674e380916a9
0
bozimmerman/CoffeeMud,Tycheo/coffeemud,MaxRau/CoffeeMud,MaxRau/CoffeeMud,Tycheo/coffeemud,oriontribunal/CoffeeMud,oriontribunal/CoffeeMud,sfunk1x/CoffeeMud,sfunk1x/CoffeeMud,Tycheo/coffeemud,sfunk1x/CoffeeMud,oriontribunal/CoffeeMud,bozimmerman/CoffeeMud,Tycheo/coffeemud,MaxRau/CoffeeMud,sfunk1x/CoffeeMud,MaxRau/Coffee...
package com.planet_ink.coffee_mud.Behaviors; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; import co...
com/planet_ink/coffee_mud/Behaviors/Scriptable.java
package com.planet_ink.coffee_mud.Behaviors; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; import co...
Repaired random mob selection git-svn-id: 0cdf8356e41b2d8ccbb41bb76c82068fe80b2514@6903 0d6f1817-ed0e-0410-87c9-987e46238f29
com/planet_ink/coffee_mud/Behaviors/Scriptable.java
Repaired random mob selection
<ide><path>om/planet_ink/coffee_mud/Behaviors/Scriptable.java <ide> &&(CMath.s_int(CMParms.getCleanBit(trigger,2).trim())<0)) <ide> { <ide> oncesDone.addElement(script); <del> execute(hostObj,mob,mob,mob,null,null,script,null,new Object[10]); <add> ...
Java
apache-2.0
9a36e78a6e8df647eea4f61ac2f24ef2f376685c
0
MikkelTAndersen/libgdx,anserran/libgdx,firefly2442/libgdx,jsjolund/libgdx,sarkanyi/libgdx,alex-dorokhov/libgdx,hyvas/libgdx,SidneyXu/libgdx,sarkanyi/libgdx,kotcrab/libgdx,josephknight/libgdx,jsjolund/libgdx,jberberick/libgdx,nrallakis/libgdx,anserran/libgdx,kotcrab/libgdx,xoppa/libgdx,bsmr-java/libgdx,jberberick/libgdx...
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:...
gdx/src/com/badlogic/gdx/scenes/scene2d/Actor.java
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:...
Javadoc.
gdx/src/com/badlogic/gdx/scenes/scene2d/Actor.java
Javadoc.
<ide><path>dx/src/com/badlogic/gdx/scenes/scene2d/Actor.java <ide> /** Sets this actor as the event {@link Event#setTarget(Actor) target} and propagates the event to this actor and ancestor <ide> * actors as necessary. If this actor is not in the stage, the stage must be set before calling this method. <ide> * <p>...
JavaScript
mit
cc2e64afb487609fe0f864fc2c554903e0fcd9fb
0
fsgiudice/quasar,pdanpdan/quasar,quasarframework/quasar,quasarframework/quasar,quasarframework/quasar,fsgiudice/quasar,rstoenescu/quasar-framework,pdanpdan/quasar,quasarframework/quasar,pdanpdan/quasar,rstoenescu/quasar-framework,rstoenescu/quasar-framework,pdanpdan/quasar,fsgiudice/quasar
import History from '../history.js' export default { props: { value: Boolean }, data () { return { showing: false } }, watch: { value (val) { if (this.disable === true && val === true) { this.$emit('input', false) return } if (val !== this.showing) {...
ui/src/mixins/model-toggle.js
import History from '../history.js' export default { props: { value: Boolean }, data () { return { showing: false } }, watch: { value (val) { if (this.disable === true && val === true) { this.$emit('input', false) return } if (val !== this.showing) {...
fix(ie): Add a delay before setting showing because IE performs a refocus on body on click (#4213) * fix(ie): Add a delay before setting showing because IE performs a refocus on body on click ref #4208 * Update model-toggle.js
ui/src/mixins/model-toggle.js
fix(ie): Add a delay before setting showing because IE performs a refocus on body on click (#4213)
<ide><path>i/src/mixins/model-toggle.js <ide> } <ide> <ide> this.$emit('before-show', evt) <del> this.showing = true <add> <add> if (this.$q.platform.is.ie === true) { <add> // IE sometimes performs a focus on body after click; <add> // the delay prevents the click-outside to trigge...
Java
mit
b92896ac7db436b6cd53162b8dee3c6c022a3e02
0
rossdrew/emuRox,rossdrew/emuRox
package com.rox.emu.p6502; import com.rox.emu.Memory; import com.rox.emu.UnknownOpCodeException; /** * A emulated representation of MOS 6502, 8 bit * microprocessor functionality. * * @author Ross Drew */ public class CPU { private final Memory memory; private final Registers registers = new Registers();...
src/main/java/com/rox/emu/p6502/CPU.java
package com.rox.emu.p6502; import com.rox.emu.Memory; import com.rox.emu.UnknownOpCodeException; /** * A emulated representation of MOS 6502, 8 bit * microprocessor functionality. * * @author Ross Drew */ public class CPU { private final Memory memory; private final Registers registers = new Registers();...
Refactor out addition to make it more flexable
src/main/java/com/rox/emu/p6502/CPU.java
Refactor out addition to make it more flexable
<ide><path>rc/main/java/com/rox/emu/p6502/CPU.java <ide> break; <ide> <ide> case InstructionSet.OP_ADC_Z: <del> performADC(getByteOfMemoryAt(nextProgramByte())); <add> registers.setRegisterAndFlags(Registers.REG_ACCUMULATOR, performADC(getByteOfMemoryAt(nextPro...
Java
apache-2.0
a9de4b818e909055cd56d9fee99ba5ab87ae1c4b
0
nla/tinycdxserver,nla/outbackcdx,nla/tinycdxserver,nla/outbackcdx,nla/tinycdxserver,nla/outbackcdx,nla/tinycdxserver,nla/outbackcdx
package outbackcdx; import java.util.HashMap; import java.util.Map; /** * Experimental features that can be turned on with a flag. This is so they can * be merged into master (thus avoiding the code diverging) before they are * mature. */ public class FeatureFlags { private static boolean experimentalAccessCo...
src/outbackcdx/FeatureFlags.java
package outbackcdx; import java.util.HashMap; import java.util.Map; /** * Experimental features that can be turned on with a flag. This is so they can * be merged into master (thus avoiding the code diverging) before they are * mature. */ public class FeatureFlags { private static boolean experimentalAccessCo...
forgot to expressly add the variable
src/outbackcdx/FeatureFlags.java
forgot to expressly add the variable
<ide><path>rc/outbackcdx/FeatureFlags.java <ide> private static boolean experimentalAccessControl; <ide> private static boolean pandoraHacks; <ide> private static boolean secondaryMode; <add> private static boolean acceptWrites; <ide> <ide> static { <ide> experimentalAccessControl = "1".equa...
Java
apache-2.0
9b2362e8e4c523f470c9d8f07a62fb36c7cc561b
0
pcingola/BigDataScript,pcingola/BigDataScript,pcingola/BigDataScript,pcingola/BigDataScript,pcingola/BigDataScript,pcingola/BigDataScript,pcingola/BigDataScript
package org.bds.run; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.ObjectInputStream; import java.util.ArrayList; import java.util.List; import java.util.zip.GZIPInputStream; import org.bds.Bds; import org.bds.BdsParseArgs; ...
src/org/bds/run/BdsRun.java
package org.bds.run; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.ObjectInputStream; import java.util.ArrayList; import java.util.List; import java.util.zip.GZIPInputStream; import org.bds.Bds; import org.bds.BdsParseArgs; ...
Project updated
src/org/bds/run/BdsRun.java
Project updated
<ide><path>rc/org/bds/run/BdsRun.java <ide> */ <ide> public class BdsRun { <ide> <add> public static boolean USE_VM = true; // Use VM <add> <ide> public enum BdsAction { <ide> RUN, RUN_CHECKPOINT, ASSEMBLY, COMPILE, INFO_CHECKPOINT, TEST, CHECK_PID_REGEX <ide> }
Java
mit
error: pathspec 'Javelin/src/main/java/jp/co/acroquest/endosnipe/javelin/jdbc/stats/LightweightJdbcJavelinRecorder.java' did not match any file(s) known to git
c055a7191103e056240b092f377a5773eff7356e
1
miyasakago/ENdoSnipe,t-hiramatsu/ENdoSnipe,t-hiramatsu/ENdoSnipe,miyasakago/ENdoSnipe,ryokato/ENdoSnipe,ryokato/ENdoSnipe,miyasakago/ENdoSnipe,ryokato/ENdoSnipe,t-hiramatsu/ENdoSnipe,ryokato/ENdoSnipe,miyasakago/ENdoSnipe,ryokato/ENdoSnipe,t-hiramatsu/ENdoSnipe,miyasakago/ENdoSnipe,ryokato/ENdoSnipe,t-hiramatsu/ENdoSni...
/* * Copyright (c) 2004-2013 Acroquest Technology Co., Ltd. All Rights Reserved. * Please read the associated COPYRIGHTS file for more details. * * THE SOFTWARE IS PROVIDED BY Acroquest Technology Co., Ltd., WITHOUT WARRANTY OF * ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * WARRANTIE...
Javelin/src/main/java/jp/co/acroquest/endosnipe/javelin/jdbc/stats/LightweightJdbcJavelinRecorder.java
Issue#172 JDBCJavelin Lightweight mode.
Javelin/src/main/java/jp/co/acroquest/endosnipe/javelin/jdbc/stats/LightweightJdbcJavelinRecorder.java
Issue#172 JDBCJavelin Lightweight mode.
<ide><path>avelin/src/main/java/jp/co/acroquest/endosnipe/javelin/jdbc/stats/LightweightJdbcJavelinRecorder.java <add>/* <add> * Copyright (c) 2004-2013 Acroquest Technology Co., Ltd. All Rights Reserved. <add> * Please read the associated COPYRIGHTS file for more details. <add> * <add> * THE SOFTWARE IS PROVIDED BY ...
Java
epl-1.0
56a2aaa4b1b27ef359cf104b29e301bfcd626964
0
stzilli/kapua,stzilli/kapua,stzilli/kapua,stzilli/kapua,LeoNerdoG/kapua,LeoNerdoG/kapua,LeoNerdoG/kapua,LeoNerdoG/kapua,LeoNerdoG/kapua,stzilli/kapua
/******************************************************************************* * Copyright (c) 2011, 2018 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this...
console/module/authorization/src/main/java/org/eclipse/kapua/app/console/module/authorization/client/tabs/permission/PermissionAddDialog.java
/******************************************************************************* * Copyright (c) 2011, 2017 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this...
access group combo fix (#1391) Signed-off-by: Bojan Utkovic <99001700c341e71194a8fd875b4155b0d6dbf33d@comtrade.com>
console/module/authorization/src/main/java/org/eclipse/kapua/app/console/module/authorization/client/tabs/permission/PermissionAddDialog.java
access group combo fix (#1391)
<ide><path>onsole/module/authorization/src/main/java/org/eclipse/kapua/app/console/module/authorization/client/tabs/permission/PermissionAddDialog.java <ide> /******************************************************************************* <del> * Copyright (c) 2011, 2017 Eurotech and/or its affiliates and others <add> ...
Java
apache-2.0
6d425039c8bf0f3ddf8aa7bd35a4bfb268c2adde
0
kidaa/incubator-groovy,adjohnson916/groovy-core,paulk-asert/incubator-groovy,nkhuyu/incubator-groovy,aaronzirbes/incubator-groovy,christoph-frick/groovy-core,bsideup/groovy-core,kenzanmedia/incubator-groovy,rlovtangen/groovy-core,genqiang/incubator-groovy,samanalysis/incubator-groovy,ChanJLee/incubator-groovy,shils/gro...
/* * Copyright 2003-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
src/main/org/codehaus/groovy/classgen/asm/BinaryExpressionMultiTypeDispatcher.java
/* * Copyright 2003-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
need to use component type to get right arraySet method, because typeMap contains no array types git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@22546 a5544e8c-8a19-0410-ba12-f9af4593a198
src/main/org/codehaus/groovy/classgen/asm/BinaryExpressionMultiTypeDispatcher.java
need to use component type to get right arraySet method, because typeMap contains no array types
<ide><path>rc/main/org/codehaus/groovy/classgen/asm/BinaryExpressionMultiTypeDispatcher.java <ide> @Override <ide> protected void assignToArray(Expression orig, Expression receiver, Expression index, Expression rhsValueLoader) { <ide> ClassNode current = getController().getClassNode(); <del> Clas...
JavaScript
mit
2d6773278f23b26c18604909e211ec06712adf1c
0
hero78119/react-i13n-ga,kaesonho/react-i13n-ga,grovelabs/react-i13n-ga
var expect = require('chai').expect; 'use strict'; describe('ga plugin client', function () { it('dummy', function () { expect(true).to.eql(true); }); });
tests/unit/index.client.js
var expect = require('chai').expect; 'use strict'; describe('ga plugin client', function () { it('dummy', function (done) { expect(true).to.be(true); }); });
fix test
tests/unit/index.client.js
fix test
<ide><path>ests/unit/index.client.js <ide> 'use strict'; <ide> <ide> describe('ga plugin client', function () { <del> it('dummy', function (done) { <del> expect(true).to.be(true); <add> it('dummy', function () { <add> expect(true).to.eql(true); <ide> }); <ide> });
Java
apache-2.0
67034a5a55d1eeaf07508c1505da8be420ae8758
0
apache/solr,apache/solr,apache/solr,apache/solr,apache/solr
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractIncrementalBackupTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
SOLR-16511: Make sure no array/list index can be -1 (#1153)
solr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractIncrementalBackupTest.java
SOLR-16511: Make sure no array/list index can be -1 (#1153)
<ide><path>olr/test-framework/src/java/org/apache/solr/cloud/api/collections/AbstractIncrementalBackupTest.java <ide> <ide> protected void corruptIndexFiles() throws IOException { <ide> List<Slice> slices = new ArrayList<>(getCollectionState(getCollectionName()).getSlices()); <del> Replica leader = slices.get...
Java
apache-2.0
3f438abdd7fcf73d8e66fe58858115ee9e548149
0
maruTA-bis5/mattermost4j,maruTA-bis5/mattermost4j
/* * Copyright (c) 2016-present, Takayuki Maruyama * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
mattermost-models/src/main/java/net/bis5/mattermost/model/config/ServiceSettings.java
/* * Copyright (c) 2016-present, Takayuki Maruyama * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
Fix javadoc tag typo (#215)
mattermost-models/src/main/java/net/bis5/mattermost/model/config/ServiceSettings.java
Fix javadoc tag typo (#215)
<ide><path>attermost-models/src/main/java/net/bis5/mattermost/model/config/ServiceSettings.java <ide> /** <ide> * Set the image proxy type. <ide> * <del> * @Deprecated Changed to {@link ImageProxySettings#setImageProxyType(ImageProxyType)} for <add> * @deprecated Changed to {@link ImageProxySettings#setIma...
Java
apache-2.0
498d252e682fad2efb6f166af35111956456fbe2
0
gilesp/taskhelper,gilesp/taskhelper,gilesp/taskhelper
package uk.co.vurt.hakken.fragments; import android.database.Cursor; import android.os.Bundle; import android.support.v4.app.ListFragment; import android.support.v4.app.LoaderManager; import android.support.v4.content.Loader; //TODO Kash & Martina convert the TaskList activity to this fragment. See JobList and ...
hakken-android-client/src/main/java/uk/co/vurt/hakken/fragments/TaskDefinitionsListFragment.java
package uk.co.vurt.hakken.fragments; import android.database.Cursor; import android.os.Bundle; import android.support.v4.app.ListFragment; import android.support.v4.app.LoaderManager; import android.support.v4.content.Loader; public class TaskDefinitionsListFragment extends ListFragment implements LoaderManager.Loa...
Added todo comment
hakken-android-client/src/main/java/uk/co/vurt/hakken/fragments/TaskDefinitionsListFragment.java
Added todo comment
<ide><path>akken-android-client/src/main/java/uk/co/vurt/hakken/fragments/TaskDefinitionsListFragment.java <ide> import android.support.v4.app.ListFragment; <ide> import android.support.v4.app.LoaderManager; <ide> import android.support.v4.content.Loader; <del> <add>//TODO Kash & Martina convert the TaskList activity t...
Java
mit
4677b985a415e1466f6b92f852e2017c27167f18
0
InfinityPhase/CARIS,InfinityPhase/CARIS
package responders; import library.Constants; import sx.blah.discord.handle.impl.events.guild.channel.message.MessageReceivedEvent; import tokens.Response; public class MentionResponder extends Responder { // Placeholder example auto handler @Override public Response process(MessageReceivedEvent event) { setu...
src/responders/MentionResponder.java
package responders; import library.Constants; import sx.blah.discord.handle.impl.events.guild.channel.message.MessageReceivedEvent; import tokens.Response; public class MentionResponder extends Responder { // Placeholder example auto handler @Override public Response process(MessageReceivedEvent event) { setu...
Fixed mentioning
src/responders/MentionResponder.java
Fixed mentioning
<ide><path>rc/responders/MentionResponder.java <ide> public Response process(MessageReceivedEvent event) { <ide> setup(event); <ide> <del> if( containsIgnoreCase(tokens, Constants.NAME) ) { <add> if( containsIgnoreCase(messageText, " " + Constants.NAME + " ") ) { <ide> response = "What is it?"; <ide> if( Co...
Java
apache-2.0
123daaca0d700b386c344e4fe8a628beea10f96e
0
dain/presto,ebyhr/presto,Praveen2112/presto,dain/presto,dain/presto,Praveen2112/presto,ebyhr/presto,ebyhr/presto,ebyhr/presto,smartnews/presto,Praveen2112/presto,smartnews/presto,Praveen2112/presto,dain/presto,smartnews/presto,Praveen2112/presto,dain/presto,smartnews/presto,smartnews/presto,ebyhr/presto
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
plugin/trino-hive/src/test/java/io/trino/plugin/hive/TestParquetPageSkipping.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Use assertEqualsIgnoreOrder in assertColumnIndexResults
plugin/trino-hive/src/test/java/io/trino/plugin/hive/TestParquetPageSkipping.java
Use assertEqualsIgnoreOrder in assertColumnIndexResults
<ide><path>lugin/trino-hive/src/test/java/io/trino/plugin/hive/TestParquetPageSkipping.java <ide> import org.testng.annotations.DataProvider; <ide> import org.testng.annotations.Test; <ide> <del>import static io.trino.testing.assertions.Assert.assertEquals; <add>import static io.trino.testing.QueryAssertions.assertEqu...
Java
apache-2.0
bb1a8ee27be8202c7d19d09e4b34219c80e97f30
0
apache/geronimo,apache/geronimo,apache/geronimo,apache/geronimo
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Fix for GERONIMO-3074 - Axis2: portname isn't set correctly git-svn-id: 0d16bf2c240b8111500ec482b35765e5042f5526@526756 13f79535-47bb-0310-9956-ffa450edef68
modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java
Fix for GERONIMO-3074 - Axis2: portname isn't set correctly
<ide><path>odules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java <ide> if (portInfo.getWsdlFile() != null && !portInfo.getWsdlFile().equals("")) { //wsdl file has been provided <ide> Definition wsdlDefinition = new AxisServiceGenerator().getWSDLDefition(...
Java
apache-2.0
cb58e923552ec512f89176295fc49d83073e9120
0
timothyjward/bndtools,bjhargrave/bndtools,grfield/bndtools,lostiniceland/bndtools,bndtools/bndtools,seanbright/bndtools,bjhargrave/bndtools,wodencafe/bndtools,lostiniceland/bndtools,seanbright/bndtools,wodencafe/bndtools,psoreide/bnd,grfield/bndtools,bndtools/bndtools,lostiniceland/bndtools,pkriens/bndtools,timothyjwar...
/******************************************************************************* * Copyright (c) 2010 Neil Bartlett. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
bndtools.core/src/bndtools/wizards/project/NewBndProjectWizard.java
/******************************************************************************* * Copyright (c) 2010 Neil Bartlett. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
Also setup the targetDir (in the bnd.bnd file) when it's not the default Signed-off-by: Ferry Huberts <66e11f9f5d965b69497c7e73d5e808f8b13c1218@pelagic.nl>
bndtools.core/src/bndtools/wizards/project/NewBndProjectWizard.java
Also setup the targetDir (in the bnd.bnd file) when it's not the default
<ide><path>ndtools.core/src/bndtools/wizards/project/NewBndProjectWizard.java <ide> } <ide> } <ide> } <add> <add> String projectTargetDir = projectPaths.getTargetDir(); <add> if (!bndPaths.getTargetDir().equals(projectTargetDir)) { <add> ...
Java
apache-2.0
ac1d978196a86151e0b1315b176d1e730196bc80
0
apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * di...
dboe-transaction/src/main/java/org/seaborne/dboe/transaction/Txn.java
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * di...
Use try-finally even on read transactions.
dboe-transaction/src/main/java/org/seaborne/dboe/transaction/Txn.java
Use try-finally even on read transactions.
<ide><path>boe-transaction/src/main/java/org/seaborne/dboe/transaction/Txn.java <ide> */ <ide> public static <T extends Transactional> void executeRead(T txn, Runnable r) { <ide> txn.begin(ReadWrite.READ) ; <del> r.run(); <del> txn.end() ; <add> try { <add> r.run(); ...
Java
apache-2.0
error: pathspec 'Examples/Segmentation/WatershedSegmentation1.java' did not match any file(s) known to git
e4e6b82a4b4b3b2b43dfdc3a8fed966b86e67a8d
1
heimdali/ITK,vfonov/ITK,daviddoria/itkHoughTransform,fbudin69500/ITK,BlueBrain/ITK,LucHermitte/ITK,biotrump/ITK,malaterre/ITK,hjmjohnson/ITK,GEHC-Surgery/ITK,malaterre/ITK,vfonov/ITK,hjmjohnson/ITK,CapeDrew/DITK,LucHermitte/ITK,BlueBrain/ITK,atsnyder/ITK,GEHC-Surgery/ITK,CapeDrew/DITK,fuentesdt/InsightToolkit-dev,hjmjo...
/** * Example on the use of the WatershedImageFilter * */ import InsightToolkit.*; public class WatershedSegmentation1 { public static void main( String argv[] ) { System.out.println("WatershedSegmentation1 Example"); itkImageFileReaderF2_Pointer reader = itkImageFileReaderF2.itkImageFileReaderF2_New...
Examples/Segmentation/WatershedSegmentation1.java
ENH: Translation of WatershedSegmentation1.py into Java.
Examples/Segmentation/WatershedSegmentation1.java
ENH: Translation of WatershedSegmentation1.py into Java.
<ide><path>xamples/Segmentation/WatershedSegmentation1.java <add>/** <add> * Example on the use of the WatershedImageFilter <add> * <add> */ <add> <add>import InsightToolkit.*; <add> <add>public class WatershedSegmentation1 <add>{ <add> public static void main( String argv[] ) <add> { <add> System.out.println("Wa...
Java
bsd-3-clause
92929e64ba2c27e5298522d0df50ab06e56ea92b
0
cyclus/cyclist2,FlanFlanagan/cyclist2
package edu.utah.sci.cyclist.core.ui.wizards; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.cont...
cyclist/src/edu/utah/sci/cyclist/core/ui/wizards/SaveWsWizard.java
package edu.utah.sci.cyclist.core.ui.wizards; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.cont...
enable escape/return keys on the save exit panel
cyclist/src/edu/utah/sci/cyclist/core/ui/wizards/SaveWsWizard.java
enable escape/return keys on the save exit panel
<ide><path>yclist/src/edu/utah/sci/cyclist/core/ui/wizards/SaveWsWizard.java <ide> import javafx.geometry.Pos; <ide> import javafx.scene.Scene; <ide> import javafx.scene.control.Button; <add>import javafx.scene.input.KeyCode; <ide> import javafx.scene.layout.HBox; <ide> import javafx.scene.layout.VBox; <ide> import jav...
JavaScript
mit
fa16198885939d54ffb75fd180d9d4cf982bddec
0
adambbecker/generator-abb-static
// ************************** // -- Example jQuery start -- // ************************** // // (function ($, document) { // // // Site definition // window.Site = $.extend({}, window.Site, { // // // ======================================= // // Initialize Site (attach handlers, etc.) // // =======================...
app/templates/app.js
Example jQuery site in app.js
app/templates/app.js
Example jQuery site in app.js
<ide><path>pp/templates/app.js <add>// ************************** <add>// -- Example jQuery start -- <add>// ************************** <add>// <add>// (function ($, document) { <add>// <add>// // Site definition <add>// window.Site = $.extend({}, window.Site, { <add>// <add>// // ====================================...
Java
apache-2.0
19c9de0fc235b1a4224485f3bc29db0efaf9ee20
0
stevespringett/Alpine,stevespringett/Alpine,stevespringett/Alpine,stevespringett/Alpine
/* * This file is part of Alpine. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
alpine/src/main/java/alpine/persistence/AbstractAlpineQueryManager.java
/* * This file is part of Alpine. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Added additional execute wrapper methods
alpine/src/main/java/alpine/persistence/AbstractAlpineQueryManager.java
Added additional execute wrapper methods
<ide><path>lpine/src/main/java/alpine/persistence/AbstractAlpineQueryManager.java <ide> import java.security.Principal; <ide> import java.util.Collection; <ide> import java.util.List; <add>import java.util.Map; <ide> <ide> /** <ide> * Base persistence manager that implements AutoCloseable so that the PersistenceManag...
JavaScript
mit
9bbfc491083424ba2614bbe5af13a7e750c80d77
0
staltz/mvi-example
;(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].export...
dist/js/app.js
;(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].export...
Compiled browserify
dist/js/app.js
Compiled browserify
<ide><path>ist/js/app.js <ide> operation: 'changeColor', <ide> id: Number(inputEvent.currentTarget.attributes['data-item-id'].value), <ide> color: inputEvent.currentTarget.value <del> } <add> }; <ide> }); <ide> <ide> var widthChanged$ = inputItemWidthChanged$ <ide> operation: 'changeWid...
Java
apache-2.0
184483359b017d23a41c1eaa22b591ad07716b46
0
shils/groovy,paulk-asert/incubator-groovy,shils/incubator-groovy,apache/incubator-groovy,russel/groovy,traneHead/groovy-core,russel/incubator-groovy,paulk-asert/groovy,shils/incubator-groovy,apache/incubator-groovy,apache/groovy,paulk-asert/incubator-groovy,russel/incubator-groovy,paulk-asert/incubator-groovy,shils/gro...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
src/main/java/org/apache/groovy/ast/tools/AnnotatedNodeUtils.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
GROOVY-8822: Conflict between @Generated and @Delegate (add an extra guard)
src/main/java/org/apache/groovy/ast/tools/AnnotatedNodeUtils.java
GROOVY-8822: Conflict between @Generated and @Delegate (add an extra guard)
<ide><path>rc/main/java/org/apache/groovy/ast/tools/AnnotatedNodeUtils.java <ide> <ide> public static void markAsGenerated(ClassNode containingClass, AnnotatedNode nodeToMark) { <ide> boolean shouldAnnotate = containingClass.getModule() != null && containingClass.getModule().getContext() != null; <del> ...
Java
apache-2.0
394985d5b3fb0441ad9fa5efb49835243b2dfc91
0
apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
sharding-jdbc/sharding-jdbc-core/src/test/java/org/apache/shardingsphere/shardingjdbc/executor/PreparedStatementExecutorTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
use each
sharding-jdbc/sharding-jdbc-core/src/test/java/org/apache/shardingsphere/shardingjdbc/executor/PreparedStatementExecutorTest.java
use each
<ide><path>harding-jdbc/sharding-jdbc-core/src/test/java/org/apache/shardingsphere/shardingjdbc/executor/PreparedStatementExecutorTest.java <ide> when(preparedStatement2.executeQuery()).thenReturn(resultSet2); <ide> setExecuteGroups(Arrays.asList(preparedStatement1, preparedStatement2), SQLType.DQL); <i...
Java
apache-2.0
27c6f040da5d395129f0406def96dfa74531be6c
0
infinispan/protostream
package org.infinispan.protostream.annotations.impl.processor; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.nio.charset.StandardCharsets; import java.util.LinkedHashMap; import java.util.Map; import javax.annotation.processing.Fi...
processor/src/main/java/org/infinispan/protostream/annotations/impl/processor/GeneratedFilesWriter.java
package org.infinispan.protostream.annotations.impl.processor; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.nio.charset.StandardCharsets; import java.util.LinkedHashMap; import java.util.Map; import javax.annotation.processing.Fi...
IPROTO-161 Enhance generated source file up-to-date check by also ensuring the class file exists and is newer that the java file * Maven compiler plugin 3.8.1 and Protostream seem broken, see comments here: https://issues.jboss.org/browse/IPROTO-161
processor/src/main/java/org/infinispan/protostream/annotations/impl/processor/GeneratedFilesWriter.java
IPROTO-161 Enhance generated source file up-to-date check by also ensuring the class file exists and is newer that the java file
<ide><path>rocessor/src/main/java/org/infinispan/protostream/annotations/impl/processor/GeneratedFilesWriter.java <ide> <ide> @Override <ide> public void write(Filer filer) throws IOException { <del> // check disk contents <del> if (source.equals(getSourceFileContents(filer, className))) { ...
Java
mit
c433f096b4b43e9251d934898bf1003398ff2fd8
0
chicobentojr/minhaeiro
package br.com.chicobentojr.minhaeiro.activity; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import java.util.ArrayList; import java.util.Calendar; import ...
app/src/main/java/br/com/chicobentojr/minhaeiro/activity/PeriodoActivity.java
package br.com.chicobentojr.minhaeiro.activity; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import java.util.ArrayList; import java.util.Calendar; import ...
Adiciona função para abrir período mais recente
app/src/main/java/br/com/chicobentojr/minhaeiro/activity/PeriodoActivity.java
Adiciona função para abrir período mais recente
<ide><path>pp/src/main/java/br/com/chicobentojr/minhaeiro/activity/PeriodoActivity.java <ide> protected void onResume() { <ide> super.onResume(); <ide> carregarPeriodos(); <add> abrirPeriodoMaisRecente(); <ide> } <ide> <ide> public void carregarPeriodos() { <ide> viewPager.se...
Java
bsd-3-clause
91fb0f009fd7da91466aad71308962fca442b6a4
0
plan3/sns-to-orchestrate
package chids.providers; import static com.google.common.base.Strings.emptyToNull; import static java.lang.System.getenv; import io.orchestrate.client.Client; import java.lang.reflect.Type; import javax.ws.rs.core.Context; import javax.ws.rs.core.MultivaluedMap; import javax.ws.rs.ext.Provider; import chids.service...
src/main/java/chids/providers/ClientProvider.java
package chids.providers; import static com.google.common.base.Strings.emptyToNull; import static java.lang.System.getenv; import io.orchestrate.client.Client; import java.lang.reflect.Type; import javax.ws.rs.core.Context; import javax.ws.rs.ext.Provider; import chids.service.BadRequestException; import com.sun.je...
Extract duplicated null checks to method in ClientProvider.
src/main/java/chids/providers/ClientProvider.java
Extract duplicated null checks to method in ClientProvider.
<ide><path>rc/main/java/chids/providers/ClientProvider.java <ide> import java.lang.reflect.Type; <ide> <ide> import javax.ws.rs.core.Context; <add>import javax.ws.rs.core.MultivaluedMap; <ide> import javax.ws.rs.ext.Provider; <ide> <ide> import chids.service.BadRequestException; <ide> <ide> @Override <ide> p...
Java
apache-2.0
4409813025a0b44820599f6e3cf1011d31aa96a0
0
Valkryst/VTerminal
package com.valkryst.VTerminal.component; import com.valkryst.VTerminal.AsciiCharacter; import com.valkryst.VTerminal.Panel; import com.valkryst.VTerminal.AsciiString; import com.valkryst.VTerminal.font.Font; import com.valkryst.radio.Radio; import lombok.Getter; import java.awt.*; import java.awt.event.MouseEvent; i...
src/com/valkryst/VTerminal/component/Component.java
package com.valkryst.VTerminal.component; import com.valkryst.VTerminal.AsciiCharacter; import com.valkryst.VTerminal.Panel; import com.valkryst.VTerminal.AsciiString; import com.valkryst.VTerminal.font.Font; import com.valkryst.radio.Radio; import lombok.Getter; import java.awt.*; import java.awt.event.MouseEvent; i...
Adds null check to the intersects function.
src/com/valkryst/VTerminal/component/Component.java
Adds null check to the intersects function.
<ide><path>rc/com/valkryst/VTerminal/component/Component.java <ide> * Whether or not the components intersect. <ide> */ <ide> public boolean intersects(final Component otherComponent) { <del> return boundingBox.intersects(otherComponent.getBoundingBox()); <add> return otherComponent ...
Java
apache-2.0
38e9e0cb022fd60ba56cd8b6e223ceb6bd4de81a
0
darranl/directory-shared
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
ldap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
Don't catch RuntimeExceptions accidentally git-svn-id: a98780f44e7643575d86f056c30a4189ca15db44@951314 13f79535-47bb-0310-9956-ffa450edef68
ldap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java
Don't catch RuntimeExceptions accidentally
<ide><path>dap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java <ide> import java.io.FileFilter; <ide> import java.io.OutputStreamWriter; <ide> import java.io.UnsupportedEncodingException; <add>import java.lang.reflect.InvocationTargetException; <ide> import java.lang.reflect.Method; <ide> import ja...
Java
epl-1.0
4e630150c3b45a2837158fc6bf8e273a9239e7e4
0
ControlSystemStudio/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,css-iter/cs-studio,css-iter/cs-studio,E...
package org.csstudio.opibuilder.widgets.editparts; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import org.csstudio.opibuilder.datadefinition.ColorMap; import org.csstudio.opibuilder.editparts.AbstractPVWidgetEditPart; import org.csstudio.opibuilder.editparts.ExecutionMode; import ...
applications/plugins/org.csstudio.opibuilder.widgets/src/org/csstudio/opibuilder/widgets/editparts/IntensityGraphEditPart.java
package org.csstudio.opibuilder.widgets.editparts; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import org.csstudio.opibuilder.datadefinition.ColorMap; import org.csstudio.opibuilder.editparts.AbstractPVWidgetEditPart; import org.csstudio.opibuilder.editparts.ExecutionMode; import ...
bug fix
applications/plugins/org.csstudio.opibuilder.widgets/src/org/csstudio/opibuilder/widgets/editparts/IntensityGraphEditPart.java
bug fix
<ide><path>pplications/plugins/org.csstudio.opibuilder.widgets/src/org/csstudio/opibuilder/widgets/editparts/IntensityGraphEditPart.java <ide> //horizontal <ide> setPVValue(IntensityGraphModel.PROP_HORIZON_PROFILE_Y_PV_NAME, xProfileData); <ide> double[] horizonXData = new double[xProfileData.length]; <d...
Java
apache-2.0
96de827889412df8103d2d2483a9a2140867b177
0
szhem/camel-osgi
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
src/main/java/org/apache/camel/osgi/service/util/OsgiServiceCollection.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
casting proxied service to collection element type
src/main/java/org/apache/camel/osgi/service/util/OsgiServiceCollection.java
casting proxied service to collection element type
<ide><path>rc/main/java/org/apache/camel/osgi/service/util/OsgiServiceCollection.java <ide> case ServiceEvent.REGISTERED: <ide> case ServiceEvent.MODIFIED: <ide> synchronized (lock) { <del> E service = proxyCreator.createProxy( <add> ...
Java
mit
436703a16121ae04f3c6e641ed135845a46ccfbb
0
TouchBoarder/material-dialogs,simple88/material-dialogs,jaohoang/material-dialogs,hister/material-dialogs,nxp1986/material-dialogs,tmxdyf/material-dialogs,Heart2009/material-dialogs,awesome-niu/material-dialogs,zh-kevin/material-dialogs,Cryhelyxx/material-dialogs,fortunatey/material-dialogs,nono9119/material-dialogs,lc...
package com.afollestad.materialdialogs.prefs; import android.annotation.TargetApi; import android.content.Context; import android.content.DialogInterface; import android.os.Build; import android.os.Bundle; import android.preference.MultiSelectListPreference; import android.util.AttributeSet; import android.view.View; ...
library/src/main/java/com/afollestad/materialdialogs/prefs/MaterialMultiSelectListPreference.java
package com.afollestad.materialdialogs.prefs; import android.annotation.TargetApi; import android.content.Context; import android.content.DialogInterface; import android.os.Build; import android.os.Bundle; import android.preference.MultiSelectListPreference; import android.util.AttributeSet; import android.view.View; ...
Update MaterialMultiSelectListPreference.java fix issue #339
library/src/main/java/com/afollestad/materialdialogs/prefs/MaterialMultiSelectListPreference.java
Update MaterialMultiSelectListPreference.java
<ide><path>ibrary/src/main/java/com/afollestad/materialdialogs/prefs/MaterialMultiSelectListPreference.java <ide> @Override <ide> protected void showDialog(Bundle state) { <ide> List<Integer> indicies = new ArrayList<>(); <del> for (String s : getValues()) <del> indicies.add(findIndexO...
Java
agpl-3.0
99ddadde4dc3f546dba66eb22d170ae0f2913973
0
rdkgit/opennms,aihua/opennms,aihua/opennms,tdefilip/opennms,tdefilip/opennms,rdkgit/opennms,aihua/opennms,tdefilip/opennms,roskens/opennms-pre-github,aihua/opennms,roskens/opennms-pre-github,rdkgit/opennms,tdefilip/opennms,tdefilip/opennms,rdkgit/opennms,roskens/opennms-pre-github,rdkgit/opennms,roskens/opennms-pre-git...
// // This file is part of the OpenNMS(R) Application. // // OpenNMS(R) is Copyright (C) 2006 The OpenNMS Group, Inc. All rights reserved. // OpenNMS(R) is a derivative work, containing both original code, included code and modified // code that was published under the GNU General Public License. Copyrights for modifi...
opennms-dao/src/main/java/org/opennms/netmgt/dao/hibernate/LocationMonitorDaoHibernate.java
// // This file is part of the OpenNMS(R) Application. // // OpenNMS(R) is Copyright (C) 2006 The OpenNMS Group, Inc. All rights reserved. // OpenNMS(R) is a derivative work, containing both original code, included code and modified // code that was published under the GNU General Public License. Copyrights for modifi...
fix return of most recent rather then earlist
opennms-dao/src/main/java/org/opennms/netmgt/dao/hibernate/LocationMonitorDaoHibernate.java
fix return of most recent rather then earlist
<ide><path>pennms-dao/src/main/java/org/opennms/netmgt/dao/hibernate/LocationMonitorDaoHibernate.java <ide> <ide> public Object doInHibernate(Session session) <ide> throws HibernateException, SQLException { <del> return session.createQuery("from OnmsLocationSpecificStatus...
Java
bsd-3-clause
15c293ea89dcd811962889dd540d4bacde58b70c
0
dougqh/JAK
package net.dougqh.jak.disassembler; import java.io.IOException; import java.lang.reflect.Type; import java.util.Collections; import java.util.List; import net.dougqh.jak.Jak; import net.dougqh.jak.JavaField; import net.dougqh.jak.JavaMethodDescriptor; import net.dougqh.java.meta.types.JavaTypes; import static net.do...
net.dougqh.jak.jvm.disassembler/src/net/dougqh/jak/disassembler/ConstantPool.java
package net.dougqh.jak.disassembler; import java.io.IOException; import java.lang.reflect.Type; import java.util.Collections; import java.util.List; import net.dougqh.jak.Jak; import net.dougqh.jak.JavaField; import net.dougqh.jak.JavaMethodDescriptor; import net.dougqh.java.meta.types.JavaTypes; import static net.do...
De-spacing
net.dougqh.jak.jvm.disassembler/src/net/dougqh/jak/disassembler/ConstantPool.java
De-spacing
<ide><path>et.dougqh.jak.jvm.disassembler/src/net/dougqh/jak/disassembler/ConstantPool.java <ide> <ide> ConstantPool( final JvmInputStream in ) throws IOException { <ide> int count = in.u2(); <del> this.constants = new Object[ count ]; <del> this.decodeCache = new DecodeCacheEntry[ count ]; <add> this.constan...
Java
apache-2.0
d0ff33a67f6393e4d50d82c5f4db8506a622bd47
0
adrie4mac/commons-codec,apache/commons-codec,apache/commons-codec,mohanaraosv/commons-codec,mohanaraosv/commons-codec,mohanaraosv/commons-codec,adrie4mac/commons-codec,adrie4mac/commons-codec,apache/commons-codec
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
src/java/org/apache/commons/codec/binary/Base64InputStream.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
We don't (yet) support marking the Base64 stream git-svn-id: cde5a1597f50f50feab6f72941f6b219c34291a1@669993 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/commons/codec/binary/Base64InputStream.java
We don't (yet) support marking the Base64 stream
<ide><path>rc/java/org/apache/commons/codec/binary/Base64InputStream.java <ide> } <ide> } <ide> <del> <add> /** <add> * {@inheritDoc} <add> * @return false <add> */ <add> public boolean markSupported() { <add> return false; // not an easy job to support marks <add> } <ide> }
JavaScript
apache-2.0
400f2892bb6b897dc15351a99cbfbda72386ed78
0
c3nav/c3nav,c3nav/c3nav,c3nav/c3nav,c3nav/c3nav
(function () { /* * Workaround for 1px lines appearing in some browsers due to fractional transforms * and resulting anti-aliasing. * https://github.com/Leaflet/Leaflet/issues/3575 */ var originalInitTile = L.GridLayer.prototype._initTile; L.GridLayer.include({ _initTile: functio...
src/c3nav/site/static/site/js/c3nav.js
(function () { /* * Workaround for 1px lines appearing in some browsers due to fractional transforms * and resulting anti-aliasing. * https://github.com/Leaflet/Leaflet/issues/3575 */ var originalInitTile = L.GridLayer.prototype._initTile; L.GridLayer.include({ _initTile: functio...
fix scroll wheel zoom on thinkpads and similar
src/c3nav/site/static/site/js/c3nav.js
fix scroll wheel zoom on thinkpads and similar
<ide><path>rc/c3nav/site/static/site/js/c3nav.js <ide> <ide> tile.style.width = tileSize.x + 1 + 'px'; <ide> tile.style.height = tileSize.y + 1 + 'px'; <add> } <add> }); <add> <add> /* <add> * Fix scroll wheel zoom on precise scrolling devices <add> */ <add> var original...
Java
apache-2.0
de5e80542f6a14e88ec25ce8e45ad7aaddd0b361
0
codescale/logging-log4j2,GFriedrich/logging-log4j2,ChetnaChaudhari/logging-log4j2,jsnikhil/nj-logging-log4j2,xnslong/logging-log4j2,apache/logging-log4j2,neuro-sys/logging-log4j2,pisfly/logging-log4j2,xnslong/logging-log4j2,lburgazzoli/logging-log4j2,lqbweb/logging-log4j2,GFriedrich/logging-log4j2,codescale/logging-log...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
log4j-1.2-api/src/main/java/org/apache/log4j/BasicConfigurator.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
Document empty block.
log4j-1.2-api/src/main/java/org/apache/log4j/BasicConfigurator.java
Document empty block.
<ide><path>og4j-1.2-api/src/main/java/org/apache/log4j/BasicConfigurator.java <ide> * @param appender The appender. <ide> */ <ide> public static void configure(final Appender appender) { <add> // no-op <ide> } <ide> <ide> /** <ide> * No-op implementation. <ide> */ <ide> publi...
Java
agpl-3.0
3abe6009f78886812ebd3e5b4db4d1ae153e4a5e
0
roskens/opennms-pre-github,rdkgit/opennms,roskens/opennms-pre-github,tdefilip/opennms,rdkgit/opennms,aihua/opennms,tdefilip/opennms,aihua/opennms,roskens/opennms-pre-github,tdefilip/opennms,roskens/opennms-pre-github,rdkgit/opennms,aihua/opennms,roskens/opennms-pre-github,rdkgit/opennms,aihua/opennms,roskens/opennms-pr...
// // This file is part of the OpenNMS(R) Application. // // OpenNMS(R) is Copyright (C) 2002-2003 The OpenNMS Group, Inc. All rights reserved. // OpenNMS(R) is a derivative work, containing both original code, included code and modified // code that was published under the GNU General Public License. Copyrights for m...
opennms-webapp/src/main/java/org/opennms/web/graph/PrefabGraph.java
// // This file is part of the OpenNMS(R) Application. // // OpenNMS(R) is Copyright (C) 2002-2003 The OpenNMS Group, Inc. All rights reserved. // OpenNMS(R) is a derivative work, containing both original code, included code and modified // code that was published under the GNU General Public License. Copyrights for m...
Remove unneedeed imports
opennms-webapp/src/main/java/org/opennms/web/graph/PrefabGraph.java
Remove unneedeed imports
<ide><path>pennms-webapp/src/main/java/org/opennms/web/graph/PrefabGraph.java <ide> // <ide> <ide> package org.opennms.web.graph; <del> <del>import java.util.HashMap; <del>import java.util.Map; <del>import java.util.Properties; <del> <del>import org.opennms.core.utils.BundleLists; <ide> <ide> public class PrefabGraph...
Java
mit
50f9c79a1ab835e63e39411016a88f5c79e439d6
0
BandUp/band-up-android
package com.melodies.bandup.MainScreenActivity; import android.content.Context; import android.graphics.Typeface; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget....
app/src/main/java/com/melodies/bandup/MainScreenActivity/UserListFragment.java
package com.melodies.bandup.MainScreenActivity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Typeface; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.V...
Using Picasso to load images
app/src/main/java/com/melodies/bandup/MainScreenActivity/UserListFragment.java
Using Picasso to load images
<ide><path>pp/src/main/java/com/melodies/bandup/MainScreenActivity/UserListFragment.java <ide> package com.melodies.bandup.MainScreenActivity; <ide> <ide> import android.content.Context; <del>import android.graphics.Bitmap; <ide> import android.graphics.Typeface; <ide> import android.net.Uri; <ide> import android.os.B...
Java
apache-2.0
58fb78fd9ab224f9754b9b9fcb61c2fcdb3bb668
0
zhoffice/redisson,redisson/redisson,ContaAzul/redisson,mrniko/redisson,jackygurui/redisson
/** * Copyright 2014 Nikita Koksharov, Nickolay Borbit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
src/main/java/org/redisson/connection/RedisClientEntry.java
/** * Copyright 2014 Nikita Koksharov, Nickolay Borbit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
ClusterNode.info fixed
src/main/java/org/redisson/connection/RedisClientEntry.java
ClusterNode.info fixed
<ide><path>rc/main/java/org/redisson/connection/RedisClientEntry.java <ide> <ide> @Override <ide> public Map<String, String> info() { <del> RedisConnection c = connect(); <add> RedisConnection c = null; <ide> try { <add> c = connect(); <ide> return c.sync(RedisComma...
Java
apache-2.0
9a1240b88a9a2660847068a6c07c9a511da21350
0
danibusu/gateway,AdrianCozma/gateway,danibusu/gateway,danibusu/gateway,kaazing/gateway,jitsni/gateway,Anisotrop/gateway,stanculescu/gateway,Anisotrop/gateway,stanculescu/gateway,a-zuckut/gateway,jitsni/gateway,stanculescu/gateway,kaazing/gateway,Anisotrop/gateway,a-zuckut/gateway,jitsni/gateway,AdrianCozma/gateway,Anis...
/** * Copyright 2007-2016, Kaazing Corporation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
update.check/src/main/java/org/kaazing/gateway/update/check/UpdateCheckGatewayObserver.java
/** * Copyright 2007-2016, Kaazing Corporation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
Small formatting change
update.check/src/main/java/org/kaazing/gateway/update/check/UpdateCheckGatewayObserver.java
Small formatting change
<ide><path>pdate.check/src/main/java/org/kaazing/gateway/update/check/UpdateCheckGatewayObserver.java <ide> /** <ide> * Creates and manages periodic checks to see if the gateway has updates <ide> */ <del> public class UpdateCheckGatewayObserver implements GatewayObserverFactorySpi { <add>public class UpdateCheckGa...
Java
apache-2.0
6d7cafb993fccb364473c1302cac776d06773648
0
google/ground-android,google/ground-android,google/ground-android
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
gnd/src/test/java/com/google/android/gnd/persistence/local/LocalDataStoreTest.java
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Replace subscribe by blockingAwait
gnd/src/test/java/com/google/android/gnd/persistence/local/LocalDataStoreTest.java
Replace subscribe by blockingAwait
<ide><path>nd/src/test/java/com/google/android/gnd/persistence/local/LocalDataStoreTest.java <ide> <ide> @Test <ide> public void testGetProjects() { <del> localDataStore.insertOrUpdateProject(TEST_PROJECT).subscribe(); <add> localDataStore.insertOrUpdateProject(TEST_PROJECT).blockingAwait(); <ide> localD...
JavaScript
mit
2d534d6ec45f6838ec314820984c697f44bfe19f
0
ryanoshea/poll-princeton,ryanoshea/poll-princeton
var http = require('http'); var https = require('https'); var express = require('express'); var bodyParser = require('body-parser'); var multer = require('multer'); var crypto = require('crypto'); var async = require('async'); var fs = require('fs'); var app = express(); app.use(bodyParser.json()); // for parsing appl...
backend/node/server.js
var http = require('http'); var https = require('https'); var express = require('express'); var bodyParser = require('body-parser'); var multer = require('multer'); var crypto = require('crypto'); var async = require('async'); var fs = require('fs'); var app = express(); app.use(bodyParser.json()); // for parsing appl...
Added unique count of visitors
backend/node/server.js
Added unique count of visitors
<ide><path>ackend/node/server.js <ide> <ide> //Logging visitors <ide> var newLogDate = new Date(); <del> var newUserLog = ticket.netid + " " + newLogDate + '\n'; <del> fs.appendFile('userLog.txt', newUserLog, function (err) <add> var log = ticket.netid + " " + newLogDate + '\n'; <add> ...
Java
apache-2.0
3d8fb564c2315c4a87c36d31a41401b606186982
0
adaptris/interlok
package com.adaptris.core.services.conditional; import com.adaptris.annotation.AdapterComponent; import com.adaptris.annotation.AdvancedConfig; import com.adaptris.annotation.ComponentProfile; import com.adaptris.annotation.DisplayOrder; import com.adaptris.core.AdaptrisMessage; import com.adaptris.core.CoreException;...
interlok-core/src/main/java/com/adaptris/core/services/conditional/ForEach.java
package com.adaptris.core.services.conditional; import com.adaptris.annotation.AdapterComponent; import com.adaptris.annotation.AdvancedConfig; import com.adaptris.annotation.ComponentProfile; import com.adaptris.annotation.DisplayOrder; import com.adaptris.core.AdaptrisMessage; import com.adaptris.core.CoreException;...
INTERLOK-3087 Actually copy the payload to new messages
interlok-core/src/main/java/com/adaptris/core/services/conditional/ForEach.java
INTERLOK-3087 Actually copy the payload to new messages
<ide><path>nterlok-core/src/main/java/com/adaptris/core/services/conditional/ForEach.java <ide> { <ide> message.switchPayload(id); <ide> AdaptrisMessage each = DefaultMessageFactory.getDefaultInstance().newMessage(message, null); <add> each.setPayload(message.getPayload()); <ide> <ide> exec...
Java
agpl-3.0
df1b0ad46f127236950fad106b9230924767d476
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
a14cbee8-2e5f-11e5-9284-b827eb9e62be
hello.java
a14741ac-2e5f-11e5-9284-b827eb9e62be
a14cbee8-2e5f-11e5-9284-b827eb9e62be
hello.java
a14cbee8-2e5f-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>a14741ac-2e5f-11e5-9284-b827eb9e62be <add>a14cbee8-2e5f-11e5-9284-b827eb9e62be
Java
apache-2.0
d6487884131662bf510c920738036718bb4e66f7
0
julesbond007/Android-Jigsaw-Puzzle,julesbond007/Android-Jigsaw-Puzzle,RudraNilBasu/Android-Jigsaw-Puzzle
/* * Copyright (c) 2015. Jay Paulynice (jay.paulynice@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
app/src/main/java/com/jigdraw/draw/activity/JigsawActivity.java
/* * Copyright (c) 2015. Jay Paulynice (jay.paulynice@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
Update JigsawActivity.java
app/src/main/java/com/jigdraw/draw/activity/JigsawActivity.java
Update JigsawActivity.java
<ide><path>pp/src/main/java/com/jigdraw/draw/activity/JigsawActivity.java <ide> import com.jigdraw.draw.views.JigsawGridView; <ide> <ide> /** <del> * Represents the jigsaw puzzle solving activity. After a user creates a <del> * drawing then selects the difficulty of the jigsaw and this activity starts. <add> * Repres...
Java
apache-2.0
426944c524a7b9e0d4bd6c1c6b73fc893057c7de
0
ragerri/opennlp,apache/opennlp,ragerri/opennlp,apache/opennlp,ragerri/opennlp,apache/opennlp,jzonthemtn/opennlp,jzonthemtn/opennlp,jzonthemtn/opennlp
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
opennlp-tools/src/main/java/opennlp/tools/parser/AbstractBottomUpParser.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Comment debug log if parse can't be found See issue OPENNLP-869
opennlp-tools/src/main/java/opennlp/tools/parser/AbstractBottomUpParser.java
Comment debug log if parse can't be found
<ide><path>pennlp-tools/src/main/java/opennlp/tools/parser/AbstractBottomUpParser.java <ide> } <ide> } <ide> else { <del> if (reportFailedParse) { <del> System.err.println("Couldn't advance parse "+derivationStage+" stage "+derivationRank+"!\n"); <del> } <add> ...
Java
mit
9e34eb21110b9538f5f0e8a23af8da399379052f
0
Innovimax-SARL/mix-them
package innovimax.mixthem.operation; import innovimax.mixthem.arguments.RuleParam; import innovimax.mixthem.arguments.ParamValue; import java.util.Map; /** * <p>Abstract class for all line operation.</p> * @see ILineOperation * @author Innovimax * @version 1.0 */ public abstract class AbstractLineOperation extends A...
src/main/java/innovimax/mixthem/operation/AbstractLineOperation.java
package innovimax.mixthem.operation; import innovimax.mixthem.arguments.RuleParam; import innovimax.mixthem.arguments.ParamValue; import java.util.Map; /** * <p>Abstract class for all line operation.</p> * @see ILineOperation * @author Innovimax * @version 1.0 */ public abstract class AbstractLineOperation extends A...
small change
src/main/java/innovimax/mixthem/operation/AbstractLineOperation.java
small change
<ide><path>rc/main/java/innovimax/mixthem/operation/AbstractLineOperation.java <ide> */ <ide> public abstract class AbstractLineOperation extends AbstractOperation implements ILineOperation { <ide> <del> protected final Map<RuleParam, ParamValue> params; <del> <ide> /** <ide> * Constructor <ide> * @param params...
Java
mit
50217801fc8648a243cf7d311db6aee201dbe649
0
MrCreosote/jgi_kbase_integration_tests,MrCreosote/jgi_kbase_integration_tests,MrCreosote/jgi_kbase_integration_tests,MrCreosote/jgi_kbase_integration_tests,MrCreosote/jgi_kbase_integration_tests
package us.kbase.jgiintegration.common; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.junit.Assert.fail; import java.io.IOException; import java.net.MalformedURLException; import java.net.URI; import java.net.URL; import java.util.Date; import java.util.HashS...
src/us/kbase/jgiintegration/common/JGIOrganismPage.java
package us.kbase.jgiintegration.common; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.junit.Assert.fail; import java.io.IOException; import java.net.MalformedURLException; import java.net.URI; import java.net.URL; import java.util.Date; import java.util.HashS...
Kick up the globus button load timeout The globus button load check seemed to help a lot, in the 1 test run so far eliminated all the other failure modes and reduced fails from >10 to 2. Those two failed for globus button load timeouts, which appear to take longer with the new site.
src/us/kbase/jgiintegration/common/JGIOrganismPage.java
Kick up the globus button load timeout
<ide><path>rc/us/kbase/jgiintegration/common/JGIOrganismPage.java <ide> } <ide> <ide> private void waitForPageToLoad() throws InterruptedException { <del> int timeoutSec = 20; <add> int timeoutSec = 60; <ide> waitForGlobusButtonLoad(timeoutSec, "Globus button"); <ide> waitForXPathLoad(timeoutSec, <ide> "//...
Java
bsd-2-clause
3f54c3cbf9de9c7473ad110099b0925abec47cc7
0
scifio/scifio
// // Compression.java // /* LOCI Bio-Formats package for reading and converting biological file formats. Copyright (C) 2005-@year@ Melissa Linkert, Curtis Rueden, Chris Allan and Eric Kjellman. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public L...
loci/formats/Compression.java
// // Compression.java // /* LOCI Bio-Formats package for reading and converting biological file formats. Copyright (C) 2005-@year@ Melissa Linkert, Curtis Rueden, Chris Allan and Eric Kjellman. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public L...
Remove illegal @author tags in methods.
loci/formats/Compression.java
Remove illegal @author tags in methods.
<ide><path>oci/formats/Compression.java <ide> /** <ide> * Decodes a PackBits (Macintosh RLE) compressed image. <ide> * Adapted from the TIFF 6.0 specification, page 42. <del> * @author Melissa Linkert linkert at cs.wisc.edu <ide> */ <ide> public static byte[] packBitsUncompress(byte[] input) { <add> /...
Java
lgpl-2.1
4139a5794da375b94281a7c968632a5abe8cc4ac
0
skyvers/skyve,skyvers/skyve,skyvers/wildcat,skyvers/skyve,skyvers/skyve,skyvers/wildcat,skyvers/skyve,skyvers/skyve,skyvers/wildcat,skyvers/skyve,skyvers/wildcat,skyvers/wildcat
package org.skyve.impl.util; import java.io.Serializable; import java.net.URL; import java.util.Date; import java.util.List; import java.util.UUID; import java.util.logging.Logger; import org.hibernate.proxy.HibernateProxy; import org.hibernate.util.SerializationHelper; import org.skyve.CORE; import org.skyve.domain....
skyve-core/src/org/skyve/impl/util/UtilImpl.java
package org.skyve.impl.util; import java.io.Serializable; import java.net.URL; import java.util.Date; import java.util.List; import java.util.UUID; import java.util.logging.Logger; import org.hibernate.proxy.HibernateProxy; import org.hibernate.util.SerializationHelper; import org.skyve.CORE; import org.skyve.domain....
Skyve 20160505.
skyve-core/src/org/skyve/impl/util/UtilImpl.java
Skyve 20160505.
<ide><path>kyve-core/src/org/skyve/impl/util/UtilImpl.java <ide> public static String PASSWORD_HASHING_ALGORITHM = "MD5"; <ide> <ide> // For versioning javascript for web site <del> public static final String JAVASCRIPT_FILE_VERSION = "20160426"; <del> public static final String SKYVE_VERSION = "20160426"; <add> p...
JavaScript
agpl-3.0
d75ffa51eab1e14d339bfee91a328c4616644012
0
MelvinTo/firewalla,firewalla/firewalla,firewalla/firewalla,MelvinTo/firewalla,firewalla/firewalla,MelvinTo/firewalla,MelvinTo/firewalla,firewalla/firewalla,firewalla/firewalla,MelvinTo/firewalla
/* Copyright 2016 Firewalla LLC * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * ...
sensor/FamilyProtectPlugin.js
/* Copyright 2016 Firewalla LLC * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * ...
restart dnsmasq after system switch is changed
sensor/FamilyProtectPlugin.js
restart dnsmasq after system switch is changed
<ide><path>ensor/FamilyProtectPlugin.js <ide> <ide> async systemStart(dnsaddrs) { <ide> dnsmasq.setDefaultNameServers("family", dnsaddrs); <del> dnsmasq.updateResolvConf(); <add> await dnsmasq.updateResolvConf(); <add> await dnsmasq.restartDnsmasq(); <ide> } <ide> <ide> async ...
Java
mit
e0c11616f56d732a61e38dd88a234851a00c6bae
0
churichard/friendcast,churichard/friendcast,churichard/friendcast
package hackru2014f.friendcast; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.facebook.Session; import com.facebook.SessionState; import c...
app/src/main/java/hackru2014f/friendcast/MainFragment.java
package hackru2014f.friendcast; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.facebook.Session; import com.facebook.SessionState; import c...
Added extra permissions
app/src/main/java/hackru2014f/friendcast/MainFragment.java
Added extra permissions
<ide><path>pp/src/main/java/hackru2014f/friendcast/MainFragment.java <ide> import com.facebook.SessionState; <ide> import com.facebook.UiLifecycleHelper; <ide> import com.facebook.widget.LoginButton; <add> <add>import java.util.Arrays; <ide> <ide> public class MainFragment extends Fragment { <ide> private static f...
Java
apache-2.0
839c766d9a8a563b645810d8485abea000f781f6
0
rcordovano/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,rcordovano/autopsy,rcordovano/autopsy,rcordovano/autopsy,esaunders/autopsy,esaunders/autopsy,esaunders/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,rcordovano/autopsy,rcordovano/autopsy,esaunders/autopsy,esaunders/autopsy
/* * Autopsy Forensic Browser * * Copyright 2011-2018 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
Core/src/org/sleuthkit/autopsy/textextractors/TikaTextExtractor.java
/* * Autopsy Forensic Browser * * Copyright 2011-2018 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
Pulled the Tesseract use out of Tika and allow for them to be cancelled
Core/src/org/sleuthkit/autopsy/textextractors/TikaTextExtractor.java
Pulled the Tesseract use out of Tika and allow for them to be cancelled
<ide><path>ore/src/org/sleuthkit/autopsy/textextractors/TikaTextExtractor.java <ide> import com.google.common.collect.ImmutableList; <ide> import com.google.common.io.CharSource; <ide> import java.io.File; <add>import java.io.FileInputStream; <add>import java.io.FileNotFoundException; <ide> import java.io.IOException; ...
JavaScript
agpl-3.0
e4cb049cf522b0e8d86b228354999480d8cf2f70
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
8ffc108a-2e64-11e5-9284-b827eb9e62be
helloWorld.js
8ff69f6a-2e64-11e5-9284-b827eb9e62be
8ffc108a-2e64-11e5-9284-b827eb9e62be
helloWorld.js
8ffc108a-2e64-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>8ff69f6a-2e64-11e5-9284-b827eb9e62be <add>8ffc108a-2e64-11e5-9284-b827eb9e62be
Java
apache-2.0
8d419ee769d3a9f275acc1fa8da56db5a902adab
0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
server/src/main/java/io/spine/server/DeploymentDetector.java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Remove redundant whitespaces.
server/src/main/java/io/spine/server/DeploymentDetector.java
Remove redundant whitespaces.
<ide><path>erver/src/main/java/io/spine/server/DeploymentDetector.java <ide> static final String APP_ENGINE_ENVIRONMENT_PRODUCTION_VALUE = "Production"; <ide> @VisibleForTesting <ide> static final String APP_ENGINE_ENVIRONMENT_DEVELOPMENT_VALUE = "Development"; <del> <add> <ide> private @MonotonicNo...
Java
mit
a1a52fca350e20c6c9d8328d8ea4bf42ffdcec8f
0
xSzymo/Chat-bot,xSzymo/Chat-bot,xSzymo/Chat-bot
package com.xszymo.hibernate.configuration; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.OutputStreamWriter; imp...
src/main/java/com/xszymo/hibernate/configuration/LoadAtStart.java
package com.xszymo.hibernate.configuration; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.UnsupportedEncod...
fix a few bugs in loadAtStart
src/main/java/com/xszymo/hibernate/configuration/LoadAtStart.java
fix a few bugs in loadAtStart
<ide><path>rc/main/java/com/xszymo/hibernate/configuration/LoadAtStart.java <ide> package com.xszymo.hibernate.configuration; <add> <ide> <ide> import java.io.BufferedReader; <ide> import java.io.BufferedWriter; <ide> import java.io.FileNotFoundException; <ide> import java.io.FileOutputStream; <ide> import java.io.Fil...
Java
apache-2.0
92def00c21b602cb485bb2eed3415edc9115f915
0
neo4j/neo4j-java-driver,neo4j/neo4j-java-driver,neo4j/neo4j-java-driver,zhenlineo/java-driver
/** * Copyright (c) 2002-2015 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the...
driver/src/main/java/org/neo4j/driver/internal/StandardTransaction.java
/** * Copyright (c) 2002-2015 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the...
Fix wrong import
driver/src/main/java/org/neo4j/driver/internal/StandardTransaction.java
Fix wrong import
<ide><path>river/src/main/java/org/neo4j/driver/internal/StandardTransaction.java <ide> import java.util.Collections; <ide> import java.util.Map; <ide> <del>import javafx.print.Collation; <del> <ide> import org.neo4j.driver.Result; <ide> import org.neo4j.driver.Statement; <ide> import org.neo4j.driver.Transaction; <id...
Java
mit
2ee75ac79f40be550f1152f5d76587e3680243a9
0
AlmuraDev/MoreMaterials
/* The MIT License Copyright (c) 2011 Zloteanu Nichita (ZNickq) and Andre Mohren (IceReaper) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation...
src/main/java/net/morematerials/manager/SmpManager.java
/* The MIT License Copyright (c) 2011 Zloteanu Nichita (ZNickq) and Andre Mohren (IceReaper) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation...
- Reimplement crafting recipes.
src/main/java/net/morematerials/manager/SmpManager.java
- Reimplement crafting recipes.
<ide><path>rc/main/java/net/morematerials/manager/SmpManager.java <ide> import java.util.ArrayList; <ide> import java.util.Enumeration; <ide> import java.util.HashMap; <add>import java.util.List; <add>import java.util.Map; <ide> import java.util.logging.Level; <ide> import java.util.zip.ZipEntry; <ide> import java.util...
JavaScript
mit
a61bf2176f4888c14b2ab322655e68f6b865390a
0
stevecochrane/stevecochrane.com,stevecochrane/stevecochrane.com
var autoprefixer = require("autoprefixer"); var calc = require("postcss-calc"); var colorFunction = require("postcss-color-function"); var concat = require("gulp-concat"); var cssnano = require("cssnano"); var customMedia = require("postcss-custom-media"); var customProperties...
gulpfile.js
var autoprefixer = require("autoprefixer"); var calc = require("postcss-calc"); var colorFunction = require("postcss-color-function"); var concat = require("gulp-concat"); var cssnano = require("cssnano"); var customMedia = require("postcss-custom-media"); var customProperties...
Removed the jQuery dependency from the js-build-home task.
gulpfile.js
Removed the jQuery dependency from the js-build-home task.
<ide><path>ulpfile.js <ide> }); <ide> <ide> gulp.task("js-build-home", ["clean", "js-lint"], function() { <del> return gulp.src([ <del> "src/js/lib/jquery-1.7.2.min.js", <del> "src/js/main.js" <del> ]) <del> .pipe(concat("main.js")) <add> return gulp.src("src/js/main.js") <ide...
JavaScript
mit
f24774e54b9cd48ebe11ff61013582b62346c9ab
0
jagannath93/File-Management-System,jagannath93/File-Management-System
$(document).ready(function() { $(".filter1").on("change", function(){ if(!($(this).val() == '')) { var cat_data = {cat: $(this).val()}; $.get('/fms/get_sc1/', cat_data, function(res){ if(res.length) { var _filter2 = '<td class="filter2box"><select class="f...
static/js/doc-list.js
$(document).ready(function() { $(".filter1").on("change", function(){ if(!($(this).val() == '')) { var cat_data = {cat: $(this).val()}; $.get('/fms/get_sc1/', cat_data, function(res){ if(res.length) { var _filter2 = '<td class="filter2box"><select class="f...
Accordian ajax content bug fix
static/js/doc-list.js
Accordian ajax content bug fix
<ide><path>tatic/js/doc-list.js <ide> } <ide> }); <ide> <del> $(".collapse").on("show", function(){ <add> //$(".collapse").collapse(); <add> <add> $(document).on("show", ".collapse", function(){ <add> console.log("cp-1"); <ide> var ele_id = $(this).attr("id"); <ide> var id = ele_id....
Java
apache-2.0
8775a96f5d7e596e9056c38c5761933d9894cc29
0
perbone/udao
/* * This file is part of UDAO * https://github.com/perbone/udao/ * * Copyright 2013-2017 Paulo Perbone * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
udao-provider-jdbc/src/main/java/io/perbone/udao/provider/jdbc/JdbcDataSourceImpl.java
/* * This file is part of UDAO * https://github.com/perbone/udao/ * * Copyright 2013-2017 Paulo Perbone * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
Fix offset/limit statement for MySQL
udao-provider-jdbc/src/main/java/io/perbone/udao/provider/jdbc/JdbcDataSourceImpl.java
Fix offset/limit statement for MySQL
<ide><path>dao-provider-jdbc/src/main/java/io/perbone/udao/provider/jdbc/JdbcDataSourceImpl.java <ide> query.hasOffset() ? (query.offset() == 1 ? 0L : query.offset() - 1) : 0L); <ide> break; <ide> case MYSQL: <del> limit = String.format(" LIMIT %d,%d", query.hasOffset(...
Java
lgpl-2.1
8c570650bb5738572fe3a0903e503abb4ea5b6d2
0
anddann/soot,xph906/SootNew,plast-lab/soot,xph906/SootNew,xph906/SootNew,cfallin/soot,anddann/soot,plast-lab/soot,cfallin/soot,cfallin/soot,mbenz89/soot,mbenz89/soot,mbenz89/soot,xph906/SootNew,mbenz89/soot,anddann/soot,anddann/soot,cfallin/soot,plast-lab/soot
/* Soot - a J*va Optimization Framework * Copyright (C) 2007 Manu Sridharan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option...
src/soot/jimple/spark/ondemand/DemandCSPointsTo.java
/* Soot - a J*va Optimization Framework * Copyright (C) 2007 Manu Sridharan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option...
minor refactorings
src/soot/jimple/spark/ondemand/DemandCSPointsTo.java
minor refactorings
<ide><path>rc/soot/jimple/spark/ondemand/DemandCSPointsTo.java <ide> * Computes the possibly refined set of reaching objects for l. <ide> */ <ide> protected PointsToSet computeReachingObjects(Local l) { <del> PointsToSet result; <ide> VarNode v = pag.findLocalVarNode(l); <ide> if (v == nu...
Java
apache-2.0
0bd43a5427557c7f155a6ee00103369c76a49efb
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.fileEditor; import com.intellij.openapi.util.Pair; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.util.messages.Topic; import org.j...
platform/platform-api/src/com/intellij/openapi/fileEditor/FileEditorManagerListener.java
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.fileEditor; import com.intellij.openapi.util.Pair; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.util.messages.Topic; import org.j...
javadoc for FileEditorManagerListener
platform/platform-api/src/com/intellij/openapi/fileEditor/FileEditorManagerListener.java
javadoc for FileEditorManagerListener
<ide><path>latform/platform-api/src/com/intellij/openapi/fileEditor/FileEditorManagerListener.java <ide> <ide> import java.util.EventListener; <ide> <add>/** <add> * Listener for {@link FileEditorManager} events. All methods are invoked in EDT. <add> */ <ide> public interface FileEditorManagerListener extends EventLi...
Java
mit
error: pathspec 'Coding_cyclotomic_cosets.java' did not match any file(s) known to git
2c54c4026d3d9c8c0701576c8ec593c521a4b0d1
1
thmavri/CyclotomicCosets
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package coding_cyclotomic_cosets; /** * * @author Themis Mavridis */ public class Coding_cyclotomic_cosets { /** * @param args the command line arguments */ //The following code calculates the cyclo...
Coding_cyclotomic_cosets.java
Cyclotomic Cosets calculation The following code calculates the cyclotomic cosets that are need for the calculation of idempotents modulo 1+x^n of some degree
Coding_cyclotomic_cosets.java
Cyclotomic Cosets calculation
<ide><path>oding_cyclotomic_cosets.java <add>/* <add> * To change this template, choose Tools | Templates <add> * and open the template in the editor. <add> */ <add>package coding_cyclotomic_cosets; <add>/** <add> * <add> * @author Themis Mavridis <add> */ <add>public class Coding_cyclotomic_cosets { <add> <add> /**...
Java
bsd-3-clause
1eed103d31757025be4cbc7c587039a2aa9c8787
0
krishagni/openspecimen,krishagni/openspecimen,krishagni/openspecimen
package com.krishagni.catissueplus.core.common.access; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.commons.collections.CollectionUtils; import org.springframework.beans.factory.annotatio...
WEB-INF/src/com/krishagni/catissueplus/core/common/access/AccessCtrlMgr.java
package com.krishagni.catissueplus.core.common.access; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.commons.collections.CollectionUtils; import org.springframework.beans.factory.annotatio...
OPSMN - 2271 Cause: Get cps and access specific cp, case to allow access cp which is for all current and future sites not handled. Fix: Allow access collection protocol if its assigned to all current and future cps
WEB-INF/src/com/krishagni/catissueplus/core/common/access/AccessCtrlMgr.java
OPSMN - 2271
<ide><path>EB-INF/src/com/krishagni/catissueplus/core/common/access/AccessCtrlMgr.java <ide> if (CollectionUtils.containsAny(instituteSites, cp.getRepositories())) { <ide> allowed = true; <ide> } <add> } else if (accessSite == null && accessCp != null && accessCp.equals(cp)) { <add> // <add> // Sp...
Java
bsd-2-clause
a5ba4b8051c16dccc50fd39a987307958d9c2b5f
0
sebastianscatularo/javadns,sebastianscatularo/javadns
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org) package org.xbill.DNS; import java.io.*; import java.util.*; import org.xbill.DNS.utils.*; /** * Options - describes Extended DNS (EDNS) properties of a Message. * No specific options are defined other than those specified in the * header. An OPT s...
org/xbill/DNS/OPTRecord.java
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org) package org.xbill.DNS; import java.io.*; import java.util.*; import org.xbill.DNS.utils.*; /** * Options - describes Extended DNS (EDNS) properties of a Message. * No specific options are defined other than those specified in the * header. An OPT s...
Use Collections.EMPTY_LIST.
org/xbill/DNS/OPTRecord.java
Use Collections.EMPTY_LIST.
<ide><path>rg/xbill/DNS/OPTRecord.java <ide> } <ide> <ide> private List options; <del>private static List emptyList = Collections.unmodifiableList(new ArrayList()); <ide> <ide> OPTRecord() {} <ide> <ide> public List <ide> getOptions() { <ide> if (options == null) <del> return emptyList; <add> return Collections.E...
Java
mit
ad6f51905f80ff0e4dbe499a7f89d465a0b68258
0
TakayukiHoshi1984/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,TakayukiHoshi1984/De...
/* ChromeCastHttpServer.java Copyright (c) 2014 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ package org.deviceconnect.android.deviceplugin.chromecast.core; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; ...
dConnectDevicePlugin/dConnectDeviceChromeCast/app/src/main/java/org/deviceconnect/android/deviceplugin/chromecast/core/ChromeCastHttpServer.java
/* ChromeCastHttpServer.java Copyright (c) 2014 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ package org.deviceconnect.android.deviceplugin.chromecast.core; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; ...
IPv6の除外。
dConnectDevicePlugin/dConnectDeviceChromeCast/app/src/main/java/org/deviceconnect/android/deviceplugin/chromecast/core/ChromeCastHttpServer.java
IPv6の除外。
<ide><path>ConnectDevicePlugin/dConnectDeviceChromeCast/app/src/main/java/org/deviceconnect/android/deviceplugin/chromecast/core/ChromeCastHttpServer.java <ide> } <ide> } <ide> } <del> if (status == NetworkStatus.WIFI <del> ...
Java
mit
4e88010fef92f6f228e57e27cb8c8e71aa2139b4
0
jameslawler/android-ten-seven
package com.jameslawler.tenseven; import android.os.Bundle; import android.widget.LinearLayout; import android.widget.TextView; import com.trello.rxlifecycle.components.RxActivity; import java.util.Calendar; import java.util.concurrent.TimeUnit; import butterknife.Bind; import butterknife.BindString; import butterk...
app/src/main/java/com/jameslawler/tenseven/MainActivity.java
package com.jameslawler.tenseven; import android.content.IntentFilter; import android.net.ConnectivityManager; import android.os.Bundle; import android.widget.LinearLayout; import android.widget.TextView; import com.trello.rxlifecycle.components.RxActivity; import java.util.Calendar; import java.util.concurrent.Time...
Remove unused references
app/src/main/java/com/jameslawler/tenseven/MainActivity.java
Remove unused references
<ide><path>pp/src/main/java/com/jameslawler/tenseven/MainActivity.java <ide> package com.jameslawler.tenseven; <ide> <del>import android.content.IntentFilter; <del>import android.net.ConnectivityManager; <ide> import android.os.Bundle; <ide> import android.widget.LinearLayout; <ide> import android.widget.TextView;
Java
apache-2.0
0e7405cef208195866dda5eb35e2e8c9e5da4099
0
eug48/hapi-fhir,Gaduo/hapi-fhir,jamesagnew/hapi-fhir,aemay2/hapi-fhir,SingingTree/hapi-fhir,botunge/hapi-fhir,jamesagnew/hapi-fhir,botunge/hapi-fhir,Gaduo/hapi-fhir,eug48/hapi-fhir,Gaduo/hapi-fhir,jamesagnew/hapi-fhir,aemay2/hapi-fhir,botunge/hapi-fhir,aemay2/hapi-fhir,botunge/hapi-fhir,SingingTree/hapi-fhir,Gaduo/hapi...
package ca.uhn.fhir.i18n; import static org.apache.commons.lang3.StringUtils.isNotBlank; /* * #%L * HAPI FHIR - Core Library * %% * Copyright (C) 2014 - 2016 University Health Network * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
hapi-fhir-base/src/main/java/ca/uhn/fhir/i18n/HapiLocalizer.java
package ca.uhn.fhir.i18n; import static org.apache.commons.lang3.StringUtils.isNotBlank; /* * #%L * HAPI FHIR - Core Library * %% * Copyright (C) 2014 - 2016 University Health Network * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
Better error message when localizer can't find key
hapi-fhir-base/src/main/java/ca/uhn/fhir/i18n/HapiLocalizer.java
Better error message when localizer can't find key
<ide><path>api-fhir-base/src/main/java/ca/uhn/fhir/i18n/HapiLocalizer.java <ide> */ <ide> public class HapiLocalizer { <ide> <add> private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(HapiLocalizer.class); <ide> private List<ResourceBundle> myBundle = new ArrayList<ResourceBundle>(); <add...
Java
apache-2.0
db6ab84891b3fdd1ecf24c62f048bc444d7035c3
0
ouit0408/sakai,willkara/sakai,ouit0408/sakai,willkara/sakai,OpenCollabZA/sakai,Fudan-University/sakai,ouit0408/sakai,joserabal/sakai,Fudan-University/sakai,Fudan-University/sakai,ouit0408/sakai,frasese/sakai,ouit0408/sakai,rodriguezdevera/sakai,OpenCollabZA/sakai,joserabal/sakai,joserabal/sakai,rodriguezdevera/sakai,Fu...
package org.sakaiproject.tool.assessment.ui.listener.evaluation; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import ja...
samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/evaluation/HistogramListener.java
package org.sakaiproject.tool.assessment.ui.listener.evaluation; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import ja...
SAM-2880:Double precision sum trouble leads to wrong score intervals (#2533)
samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/evaluation/HistogramListener.java
SAM-2880:Double precision sum trouble leads to wrong score intervals (#2533)
<ide><path>amigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/evaluation/HistogramListener.java <ide> double[] scores = new double[array.length]; <ide> for (int i=0; i<array.length; i++) <ide> { <del> scores[i] = ((Double) array[i]).doubleValue(); <add> scores[i] = Double.valueOf(c...